This works:
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- "1.0"
- "1.1"
- "1.2"
- nightly
matrix:
allow_failures:
- julia: nightly
- os: osx
notifications:
email: false
after_script:
- bash ./docs/travis.sh
codecov: true
# uncomment the following lines to override the default test script
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- travis_wait 20 julia --project -e 'using Pkg; Pkg.build(); Pkg.test(; coverage=true)';