Skip to content

Commit 5b66efa

Browse files
committed
update Travis CI YAML
Old one was not working, and can be simplified now that we use BinaryBuilder. Used this as example: https://github.com/invenia/Nabla.jl/blob/master/.travis.yml
1 parent 5052bb9 commit 5b66efa

1 file changed

Lines changed: 8 additions & 21 deletions

File tree

.travis.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,15 @@ julia:
99
- nightly
1010
notifications:
1111
email: false
12-
git:
13-
depth: 99999999
14-
15-
## uncomment the following lines to allow failures on nightly julia
16-
## (tests will run but not make your overall status red)
1712
matrix:
18-
allow_failures:
19-
- os: osx
20-
- julia: nightly
21-
13+
allow_failures:
14+
- julia: nightly
15+
fast_finish: true
16+
# uncomment the following lines to override the default test script
17+
# script:
18+
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
19+
# - julia -e 'Pkg.clone(pwd()); Pkg.build("LibSpatialIndex"); Pkg.test("LibSpatialIndex"; coverage=true)'
2220
## uncomment and modify the following lines to manually install system packages
23-
addons:
24-
apt: # apt-get for linux
25-
packages:
26-
- gfortran
27-
before_script: # homebrew for mac
28-
- if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
29-
30-
## uncomment the following lines to override the default test script
31-
script:
32-
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
33-
- julia --project --check-bounds=yes -e 'using Pkg; Pkg.build("LibSpatialIndex"); Pkg.test("LibSpatialIndex"; coverage=true)'
3421
after_success:
3522
# push coverage results to Coveralls
36-
- julia -e 'cd(Pkg.dir("LibSpatialIndex")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
23+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

0 commit comments

Comments
 (0)