Skip to content

[ci] Attempt to fix ipopt build for OSX #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis
Submodule .travis updated 1 files
+0 −2 before_install
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: cpp
env:
global:
- APT_DEPENDENCIES="cmake cmake-data doxygen libltdl-dev libboost-all-dev liblog4cxx10-dev"
- HOMEBREW_DEPENDENCIES="doxygen log4cxx ipopt openblas mumps"
- HOMEBREW_DEPENDENCIES="doxygen log4cxx brewsci/science/ipopt openblas mumps"
- GIT_DEPENDENCIES="roboptim/roboptim-core"
- DEBSIGN_KEYID=5AE5CD75
- PPA_URI="roboptim/ppa"
Expand Down Expand Up @@ -33,12 +33,12 @@ script:
- if [ "${COVERITY_SCAN_BRANCH}" != "1" ]; then ./.travis/run build; fi
after_success:
- ./.travis/run after_success
- codecov --gcov-root=/tmp/_ci/build
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then codecov --gcov-root=/tmp/_ci/build; fi
after_failure: ./.travis/run after_failure
before_install:
# Avoid bug on CI with OSX, see https://github.com/travis-ci/travis-ci/issues/8552
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- pip install --user codecov
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then pip install --user codecov; fi
- ./.travis/dependencies/eigen-${EIGEN_MAJOR}
- ./.travis/run before_install
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then CC=gcc CXX=g++ ./.travis/dependencies/ipopt; fi
Expand All @@ -49,6 +49,8 @@ matrix:
compiler: clang
- os: osx
compiler: gcc
- os: osx
compiler: clang
- env: COVERITY_SCAN_BRANCH=1
include:
- os: linux
Expand Down