Skip to content

Commit

Permalink
Fix Travis OSX builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nixprime committed Feb 12, 2017
1 parent ccc7a51 commit a2eed58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ addons:
- python-dev
- python3-dev

osx_image: xcode7

install: ./.travis/install.sh

script: ./.travis/script.sh
6 changes: 3 additions & 3 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if [[ "${TRAVIS_OS_NAME}" == 'osx' ]]; then
brew update
# Skip updating Boost, since doing so takes a long time and we'd like to
# know about compatibility breakage anyway.
brew install cmake
brew install cmake || brew outdated cmake || brew upgrade cmake
case "${TEST_PY}" in
py2) brew outdated python || brew upgrade python;;
py3) brew install python3;;
py2) brew install python || brew outdated python || brew upgrade python;;
py3) brew install python3 || brew outdated python3 || brew upgrade python3;;
esac
fi

0 comments on commit a2eed58

Please sign in to comment.