Skip to content
This repository was archived by the owner on Jul 16, 2022. It is now read-only.

Commit b03cda5

Browse files
committed
Fix OS X build issues
1 parent 4dae2ae commit b03cda5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ python:
1111
- "3.3"
1212
- "3.4"
1313

14-
install: pip install tox
14+
install:
15+
- pip install tox
16+
- # The OS X VM doesn't have any Python support at all
17+
# See https://github.com/travis-ci/travis-ci/issues/2312
18+
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
19+
brew update
20+
brew install python3
21+
virtualenv -p python3 $HOME/osx-py3
22+
. $HOME/osx-py3/bin/activate
23+
fi
1524

1625
script: tox

0 commit comments

Comments
 (0)