Skip to content

Commit

Permalink
travis: yet another try to get osx python working
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Aug 7, 2015
1 parent bded1b6 commit 5a1c7b1
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ python:
- "3.4"
# command to install dependencies
install:
- sh -c "if [ '$TRAVIS_OS_NAME' = 'linux' ]; then sudo apt-get install -y libacl1-dev; fi"
- sh -c "if [ '$TRAVIS_OS_NAME' = 'osx' ]; then brew update; fi"
- sh -c "if [ '$TRAVIS_OS_NAME' = 'osx' ]; then brew outdated python3 || brew upgrade python3; fi"
- sh -c "if [ '$TRAVIS_OS_NAME' = 'osx' ]; then brew outdated libacl1-dev || brew upgrade libacl1-dev; fi"
- "pip install pip"
- if [ '$TRAVIS_OS_NAME' = 'linux' ]; then
sudo apt-get install -y libacl1-dev;
fi
- if [ '$TRAVIS_OS_NAME' = 'osx' ]; then
brew update;
brew outdated libacl1-dev || brew upgrade libacl1-dev;
source terryfy/travis_tools.sh;
get_python_environment macpython 3.2.5 venv;
fi
- "pip install Cython"
- "pip install -e ."
# command to run tests
Expand Down

0 comments on commit 5a1c7b1

Please sign in to comment.