Skip to content

Commit

Permalink
Update travis cache (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Nov 29, 2017
1 parent 6a81ccb commit e17fd9a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .travis.yml
Expand Up @@ -13,21 +13,16 @@ notifications:
sudo: false
cache:
directories:
- /home/travis/.julia
- $HOME/usr
addons:
apt_packages:
- gfortran

before_install:
- julia -e 'Pkg.rm("AmplNLWriter")'
- julia -e 'Pkg.update()' #make sure we get the latest version of METADATA
- julia -e 'Pkg.add("Ipopt")'

script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("AmplNLWriter")'
- julia -e 'Pkg.clone(pwd()); Pkg.build("AmplNLWriter"); Pkg.add("Ipopt")'
- julia -e 'Pkg.add("Ipopt")'
- julia --check-bounds=yes -e 'Pkg.test("AmplNLWriter", coverage=true)'

before_cache:
- cp -R $HOME/.julia/*/Ipopt/deps/usr $HOME
after_success:
- julia -e 'cd(Pkg.dir("AmplNLWriter")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
# - julia -e 'cd(Pkg.dir("AmplNLWriter")); include(joinpath("docs", "make.jl"))'

0 comments on commit e17fd9a

Please sign in to comment.