Browse Source

install python in travis osx env

pull/2624/head
David Lord 7 years ago
parent
commit
a9a078c93f
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
  1. 9
      .travis.yml

9
.travis.yml

@ -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

Loading…
Cancel
Save