forked from ome/bioformats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 808 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
43
44
45
46
47
48
---
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
- downloads
addons:
apt:
packages:
- git
- ant
jdk:
- openjdk11
- openjdk8
env:
- BUILD=maven
- BUILD=ant
matrix:
fast_finish: true
exclude:
- jdk: openjdk11
env: BUILD=ant
- jdk: openjdk8
env: BUILD=maven
script:
- ./tools/test-build $BUILD
deploy:
provider: script
script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy"
skip_cleanup: true
on:
jdk: openjdk11
repo: ome/bioformats
branch: develop
tags: false