forked from eclipse/eclipse-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (47 loc) · 1.84 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
52
53
54
55
56
57
language: java
dist: trusty
sudo: false
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java9-installer
before_install:
- wget https://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip
- unzip -qq apache-maven-3.5.0-bin.zip
- export M2_HOME=$PWD/apache-maven-3.5.0
- export PATH=$M2_HOME/bin:$PATH
- echo "MAVEN_OPTS='-Dmaven.repo.local=$HOME/.m2/repository -Xmx1g -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS'" > ~/.mavenrc
install:
-
matrix:
fast_finish: true
include:
- jdk: oraclejdk8
env:
- DESC="acceptance tests"
- CMD="mvn install --projects acceptance-tests --also-make --activate-profiles all --batch-mode --show-version --errors"
- jdk: oraclejdk8
env:
- DESC="findbugs"
- CMD="mvn install findbugs:check --projects '!scala-unit-tests,!jmh-scala-tests,!jmh-tests,!p2-repository' --activate-profiles all -DskipTests=true --batch-mode --show-version --errors"
- jdk: oraclejdk8
env:
- DESC="checkstyle"
- CMD="mvn install checkstyle:check --activate-profiles all -DskipTests=true --batch-mode --show-version --errors"
- jdk: oraclejdk8
env:
- DESC="unit tests"
- CMD="mvn install --batch-mode --show-version --errors"
- jdk: oraclejdk8
env:
- DESC="compile jmh-tests and performance-tests"
- CMD="mvn install --projects jmh-tests,performance-tests --also-make --activate-profiles all -DskipTests=true --batch-mode --show-version --errors"
- jdk: oraclejdk9
env:
- DESC="unit tests Java 9"
- CMD="mvn install --projects '!scala-unit-tests,!jmh-scala-tests,!jmh-tests,!p2-repository' --batch-mode --show-version --errors"
script: eval travis_wait 35 $CMD
cache:
directories:
- ~/.m2