File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed
Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 11language : python
22
3- os :
4- - linux
5- - osx
3+ matrix :
4+ include :
5+ - os : linux
6+ python : 2.7
7+ env : TOXENV=py27
8+ - os : linux
9+ python : 3.4
10+ env : TOXENV=py34
11+ # Use generic language for OS X
12+ - os : osx
13+ language : generic
14+ env : TOXENV=py27
15+ - os : osx
16+ language : generic
17+ env : TOXENV=py34
18+
19+ # Perform the manual Python installation steps on OS X
20+ before_install :
21+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
22+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$TOXENV" == "py27" ]]; then brew install python; fi
23+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$TOXENV" == "py34" ]]; then brew install python3; fi
24+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$TOXENV" == "py27" ]]; then virtualenv venv -p python; fi
25+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$TOXENV" == "py34" ]]; then virtualenv venv -p python3; fi
26+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source venv/bin/activate; fi
627
728install :
829 - pip install tox --use-mirrors
You can’t perform that action at this time.
0 commit comments