Skip to content

Commit

Permalink
install python in travis osx env
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Feb 8, 2018
1 parent 310fbfc commit a9a078c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
os: linux
sudo: false
language: python

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit a9a078c

Please sign in to comment.