forked from ome/bio-formats-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (33 loc) · 813 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
34
35
36
37
38
39
40
41
42
language: java
# This (sudo: false) is needed to "run on container-based infrastructure" on
# which cache: is available
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
# http://docs.travis-ci.com/user/caching/#Arbitrary-directories
cache:
directories:
- $HOME/.m2
addons:
apt_packages:
- git
jdk:
- oraclejdk9
- oraclejdk8
- openjdk7
env:
- BUILD="mvn install"
- BUILD="gradle publishToMavenLocal"
matrix:
fast_finish: true
# To avoid "gradle assemble"; gradle version provided doesn't
# work with Java 9. Remove when gradle gets updated.
install:
- true
script:
- $BUILD
# Exclude gradle/java 9 combination until gradle is updated.
matrix:
fast_finish: true
exclude:
- jdk: oraclejdk9
env: BUILD="gradle publishToMavenLocal"