Skip to content

Commit

Permalink
update Travis CI YAML
Browse files Browse the repository at this point in the history
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
  • Loading branch information
visr committed Jan 20, 2019
1 parent 5052bb9 commit 5b66efa
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,15 @@ julia:
- nightly
notifications:
email: false
git:
depth: 99999999

## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red)
matrix:
allow_failures:
- os: osx
- julia: nightly

allow_failures:
- julia: nightly
fast_finish: true
# uncomment the following lines to override the default test script
# script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("LibSpatialIndex"); Pkg.test("LibSpatialIndex"; coverage=true)'
## 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:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia --project --check-bounds=yes -e 'using Pkg; Pkg.build("LibSpatialIndex"); Pkg.test("LibSpatialIndex"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("LibSpatialIndex")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

0 comments on commit 5b66efa

Please sign in to comment.