forked from openzipkin/zipkin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·51 lines (38 loc) · 1.41 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Run `travis lint` when changing this file to avoid breaking the build.
# Use a larger VM as we run a lot of services
# https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
sudo: required
dist: trusty
cache:
directories:
# zipkin-ui gets dependencies via NPM
- $HOME/.npm
- $HOME/.m2
language: java
jdk:
# needs to be JDK 1.8 as long as we start Kafka 0.8
- oraclejdk8
services:
- docker
- rabbitmq
before_install:
# Required for Elasticsearch 5 (See https://github.com/docker-library/docs/tree/master/elasticsearch#host-setup)
- sudo sysctl -w vm.max_map_count=262144
# Quiet Maven invoker logs (Downloading... when running zipkin-server/src/it)
- echo "MAVEN_OPTS='-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'" > ~/.mavenrc
# Disable testcontainers checks
- echo checks.disable=true > ~/.testcontainers.properties
# Override default travis to use the maven wrapper
install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script: ./mvnw clean verify -B
# Don't build release tags. This avoids publish conflicts because the version commit exists both on master and the release tag.
# See https://github.com/travis-ci/travis-ci/issues/1532
branches:
except:
- /^[0-9]/
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/637e968b45032d16ee26
on_success: change
on_failure: always