install python in travis osx env

This commit is contained in:
David Lord 2018-02-08 13:04:19 -08:00
parent 310fbfcf64
commit a9a078c93f
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8

View file

@ -1,3 +1,4 @@
os: linux
sudo: false
language: python
@ -28,6 +29,14 @@ matrix:
env: TOXENV=py
fast_finish: true
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install python3 redis memcached;
virtualenv -p python3 ~/py-env;
. ~/py-env/bin/activate;
fi
install:
- pip install tox