-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
75 lines (72 loc) · 1.93 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
- windows
dist: bionic
env:
- JULIA_COPY_STACKS=0
- JULIA_COPY_STACKS=1
before_install:
- source ${TRAVIS_BUILD_DIR}/test/windows_java.sh
julia:
- 1.0
- 1
- nightly
notifications:
email: false
git:
depth: 99999999
jobs:
include:
- julia: 1
env: JULIA_COPY_STACKS=1 JAVA_HOME=/usr/local/lib/jvm/openjdk8
os: linux
- julia: 1
env: JULIA_COPY_STACKS=1 JAVA_HOME=/usr/local/lib/jvm/openjdk11
os: linux
- julia: 1
env: JULIA_COPY_STACKS=1
os: osx
osx_image: xcode9.3
- julia: 1
env: JULIA_COPY_STACKS=0 JAVA_PKG=openjdk8
os: windows
exclude:
- os: linux
env: JULIA_COPY_STACKS=0
- os: osx
env: JULIA_COPY_STACKS=0
- julia: 1.0
env: JULIA_COPY_STACKS=0
- julia: 1.0
os: windows
env: JULIA_COPY_STACKS=1
- os: windows
env: JULIA_COPY_STACKS=1
allow_failures:
- julia: nightly
cache:
directories:
- $HOME/.julia/artifacts
## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red)
#matrix:
# allow_failures:
# - julia: nightly
## uncomment and modify the following lines to manually install system packages
#addons:
# apt: # apt-get for linux
# packages:
# - gfortran
#before_script: # homebrew for mac
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
## uncomment the following lines to override the default test script
#script:
# - julia -e 'Pkg.clone(pwd()); Pkg.build("BioformatsLoader"); Pkg.test("BioformatsLoader"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("BioformatsLoader")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("BioformatsLoader")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'