forked from ome/bioformats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (47 loc) · 1.16 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
# 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
- cmake
- build-essential
- libboost-all-dev
jdk:
- oraclejdk8
- openjdk7
env:
- BUILD=maven_findbugs
- BUILD=maven
- BUILD=cppwrap
- BUILD=sphinx_html
- BUILD=ant
matrix:
fast_finish: true
allow_failures:
- env: "BUILD=cppwrap"
before_install:
- if [[ $BUILD == 'sphinx_html' ]]; then pip install --user flake8 Sphinx==1.2.3; fi
install:
- if [[ $BUILD != 'ant' ]] && [[ $BUILD != 'sphinx_html' ]]; then git fetch --tags; fi
- if [[ $BUILD == 'maven_findbugs' ]]; then mvn install -DskipTests=true; fi
script:
- ./tools/test-build $BUILD
matrix:
exclude:
- jdk: openjdk7
env: BUILD=sphinx_html
- jdk: oraclejdk8
env: BUILD=cppwrap
- jdk: openjdk7
env: BUILD=cppwrap
- jdk: openjdk7
env: BUILD=maven_findbugs
- jdk: oraclejdk8
env: BUILD=maven