Skip to content

Commit

Permalink
Updates to travis (#163)
Browse files Browse the repository at this point in the history
* Upper bound Julia and JuMP prior to rewrite

* Simplify travis

* I forgot about needing gfortran for Ipopt
  • Loading branch information
odow authored Sep 21, 2018
1 parent 2d8fdac commit 8c0435d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
21 changes: 2 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,14 @@
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
# - osx
julia:
# - release
- 0.6
notifications:
email: false
sudo: false
cache:
directories:
- $HOME/usr
addons:
apt_packages:
- gfortran
env:
- MAKEFLAGS="-j3"
LD_LIBRARY_PATH=$HOME/usr/lib
# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("SDDP"); Pkg.test("SDDP"; coverage=true)'
before_cache:
- cp -R $HOME/.julia/*/Cbc/deps/usr $HOME
- gfortran
after_success:
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("SDDP")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'Pkg.add("Documenter")'
- julia -e 'cd(Pkg.dir("SDDP")); include(joinpath("docs", "make.jl"))'
- julia -e 'cd(Pkg.dir("SDDP")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
4 changes: 2 additions & 2 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
julia 0.6
julia 0.6 0.7

JuMP 0.16
JuMP 0.16 0.19
Distributions
Clp
JSON
Expand Down

0 comments on commit 8c0435d

Please sign in to comment.