Skip to content

Commit

Permalink
Modernize .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Mar 20, 2019
1 parent 4f9c9e5 commit 8065081
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,13 @@ git:
# 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 'using Pkg; Pkg.clone(pwd()); Pkg.build("Revise"); Pkg.test("Revise"; coverage=true)'
- JULIA_REVISE_POLL=1 julia --code-coverage -e 'using Pkg, Revise; include(joinpath(dirname(pathof(Revise)), "..", "test", "polling.jl"))'
- export JULIA_PROJECT=""
- julia --project -e 'using Pkg; Pkg.build(); Pkg.test();'
- JULIA_REVISE_POLL=1 julia --project -e 'using Pkg, Revise; include(joinpath(dirname(pathof(Revise)), "..", "test", "polling.jl"))'

after_script: # TODO: change to after_success once https://github.com/JuliaLang/julia/issues/28306 is fixed
# push coverage results to Codecov
- julia -e 'using Pkg, Revise; cd(joinpath(dirname(pathof(Revise)), "..")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
after_success:
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

jobs:
include:
Expand Down

0 comments on commit 8065081

Please sign in to comment.