summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-01-26 00:13:07 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-01-26 00:13:07 -0500
commit808bcf98164f434f1cba27981d5ef7cd5f5c310b (patch)
tree41b3d94657ef5d9b6b12b1de3ba0f72f164d1399 /.travis.yml
parent050b48c07e03a8545754de5e77e1b1ba0315aa33 (diff)
downloadcmd2-git-808bcf98164f434f1cba27981d5ef7cd5f5c310b.tar.gz
Python 2.7 is working with Mac OS X. Trying to get Python 3.6 working as well.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index ae12383c..fb37a839 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,5 @@
language: python
sudo: false # enable container-based build
-install:
- - pip install tox
-script:
- - tox
-# workaround for https://github.com/travis-ci/travis-ci/issues/4794
matrix:
include:
- os: linux
@@ -26,12 +21,17 @@ matrix:
python: pypy
env: TOXENV=pypy
- os: osx
- language: objective-c
- env:
- - TOXENV=py27
- - PYENV_VERSION=2.7.12
+ language: generic
+ env: TOXENV=py27
- os: osx
- language: objective-c
- env:
- - TOXENV=py35
- - PYENV_VERSION=3.5.2
+ language: generic
+ env: TOXENV=py36
+before_install: |
+ if [ $TRAVIS_OS_NAME == "osx" ] && [ $TOXENV == "py36"]; then
+ brew update
+ brew install python3
+ fi
+install:
+ - pip install tox
+script:
+ - tox