forked from INRIA/spoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (25 loc) · 794 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
language: java
dist: trusty
group: edge
jdk: openjdk8
env:
global:
- M2_HOME="/usr/local/maven"
matrix:
- SCRIPT=travis-jdk10.sh
- SCRIPT=travis-jdk11.sh
- SCRIPT=travis-coverage.sh
- SCRIPT=travis-verify.sh
- SCRIPT=travis-maven339-jdk8.sh
# in langage:java, Travis executes by default "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
# This is not what we want because:
# - it executes checkstyle (we have a specific job for this)
# - it's useless ("mvn test" later does all the necessary tasks automatically)
# - it makes the build longer (we want a fast job)
install: true
script: ./chore/travis/$SCRIPT
cache:
directories:
- $HOME/.m2
before_cache:
- rm -rf $HOME/.m2/fr/inria/ # delete all to be sure we always get last snapshot of spoon