Skip to content

Commit

Permalink
[skip appveyor] Update travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Aug 16, 2018
1 parent 8ffaa1c commit 2f26c7e
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ os:
- osx
julia:
- 0.7
- 1.0
- nightly
matrix:
allow_failures:
- julia: nightly
git:
depth: 999999
notifications:
email: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("AstroLib"); Pkg.test("AstroLib"; coverage=true)'
# script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'import Pkg; Pkg.add(Pkg.PackageSpec(path=pwd())); Pkg.build("AstroLib"); Pkg.test("AstroLib"; coverage=true)'
after_success:
- julia -e 'using Pkg; Pkg.add("Documenter")'
- julia -e 'using Pkg; cd(Pkg.dir("AstroLib")); include(joinpath("docs", "make.jl"))'
- julia -e 'using Pkg; cd(Pkg.dir("AstroLib")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'
- julia -e 'import Pkg; Pkg.add("Documenter")'
- julia -e 'import Pkg; cd(Pkg.dir("AstroLib")); include(joinpath("docs", "make.jl"))'
- julia -e 'import Pkg; cd(Pkg.dir("AstroLib")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'

0 comments on commit 2f26c7e

Please sign in to comment.