File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,18 @@ matrix:
3939 name : Build documentation
4040 install : false
4141 script : make travis-upload-docs
42+ - # The OS X VM doesn't have any Python support at all
43+ # See https://github.com/travis-ci/travis-ci/issues/2312
44+ os : osx
45+ name : OS X Python 2.7
46+ language : generic
47+ before_install :
48+ - brew install python@2
49+ - python2 -m pip install --user virtualenv
50+ - /Users/travis/Library/Python/2.7/bin/virtualenv $HOME/osx-py
51+ - source $HOME/osx-py/bin/activate
52+ - export TRAVIS_PYTHON_VERSION=2.7
53+
4254
4355install :
4456 - pip install tox
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ output="$(
1414echo " $output "
1515
1616output=" $( echo " $output " \
17- | grep " Linux " \
17+ | grep " $( uname -s ) " \
1818 | grep " download" \
1919 | cut -d : -f 2,3 \
2020 | tr -d , \
You can’t perform that action at this time.
0 commit comments