Fix Travis build

This commit is contained in:
Joe Rickerby
2017-03-23 15:20:03 +00:00
parent fe3038049a
commit 782e383c10
+9 -2
View File
@@ -6,5 +6,12 @@ matrix:
- os: osx
script:
- pip install .
- python ./run_tests.py
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
pip install .
python ./run_tests.py
else
# linux test requires root to clean up the wheelhouse (docker runs as root)
sudo pip install .
sudo python ./run_tests.py
fi