-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
34 lines (27 loc) · 831 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
language: julia
os:
- linux
- osx
julia:
- 0.6
- 0.7
- nightly
matrix:
fast_finish: true
allow_failures:
- julia: nightly
addons:
apt:
packages:
- gfortran
before_install:
- test $(uname) = "Darwin" && brew update || true
- test $(uname) = "Darwin" && brew cask uninstall --force oclint || true
- test $(uname) = "Darwin" && brew install gcc || true
# uncomment the following lines to override the default test script
# script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build(\"${JL_PKG}\"); Pkg.test(\"${JL_PKG}\"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir(\"${JL_PKG}\")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'