-
Notifications
You must be signed in to change notification settings - Fork 56
/
.travis.yml
33 lines (24 loc) · 917 Bytes
/
.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
dist: trusty
language: java
env:
- MVN_EXCLUDE_MODULES='-pl !cs-vmware' JAVA_OPTS='-Xmx2048m -Xms512m' M2_HOME=${HOME}/apache-maven-3.5.0 PATH=${M2_HOME}/bin:${PATH}
jdk:
- oraclejdk8
- openjdk8
cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/apache-maven-3.5.0"
before_script:
- "echo $JAVA_OPTS"
before_install:
- rm ~/.m2/settings.xml
- if [ ! -d "${M2_HOME}"/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz | tar zxf - -C "${HOME}"; fi
install:
- "echo $MVN_EXCLUDE_MODULES"
- mvn install -T 2.0C -DskipTests=true -DrepoToken=${repoToken} -Dmaven.javadoc.skip=true -B -V ${MVN_EXCLUDE_MODULES}
script:
- "echo $MVN_EXCLUDE_MODULES"
- mvn test -T 2.0C -B ${MVN_EXCLUDE_MODULES}
after_success:
- mvn clean -T 2.0C cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report ${MVN_EXCLUDE_MODULES}