Skip to content

Commit

Permalink
Merge pull request #73 from pbastide/fix_NLopt
Browse files Browse the repository at this point in the history
Fix NLopt build
  • Loading branch information
cecileane authored Mar 29, 2018
2 parents 6cb7e22 + 51bf1f0 commit 0b06433
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ env:
- DRAW_FIG="false"
notifications:
email: false

before_install:

# Track master of NLopt. This line should be removed when a a new release of NLopt is out.
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then julia -e 'Pkg.clone("https://github.com/JuliaOpt/NLopt.jl"); Pkg.build("NLopt")'; fi
## Following 4 lines are taken from here:
# https://github.com/JuliaOpt/NLopt.jl/blob/master/.travis.yml#L10
# They're meant to fix the NLopt build on Linux.
addons:
apt: # apt-get for linux
packages:
- libnlopt0 # We install it this way to be able to run Travis with `sudo: false`

after_success:
# push coverage results to Coveralls
Expand Down

0 comments on commit 0b06433

Please sign in to comment.