Skip to content

Commit

Permalink
Eliminate .travis.yml hacks for unregistered packages
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Jan 31, 2017
1 parent 9383364 commit 09082b6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ julia:
notifications:
email: false
# uncomment the following lines to override the default test script
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# For the time being, clone unregistered packages
- julia -e 'Pkg.clone("https://github.com/JuliaImages/ImageCore.jl")'
- julia -e 'Pkg.clone(pwd()); Pkg.build("ImageFiltering"); Pkg.test("ImageFiltering"; coverage=true)'
# script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("ImageFiltering"); Pkg.test("ImageFiltering"; coverage=true)'
after_success:
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("ImageFiltering")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
Expand Down

0 comments on commit 09082b6

Please sign in to comment.