forked from orbit-oss/flask
install python in travis osx env
This commit is contained in:
parent
310fbfcf64
commit
a9a078c93f
1 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
os: linux
|
||||||
sudo: false
|
sudo: false
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
|
|
@ -28,6 +29,14 @@ matrix:
|
||||||
env: TOXENV=py
|
env: TOXENV=py
|
||||||
fast_finish: true
|
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:
|
install:
|
||||||
- pip install tox
|
- pip install tox
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue