update osx travis

This commit is contained in:
Thomas Kriechbaumer 2016-07-09 11:29:25 +02:00
parent aa1615eafd
commit 8cfa5ad306

View File

@ -20,12 +20,9 @@ matrix:
include: include:
- python: 3.5 - python: 3.5
env: TOXENV=lint env: TOXENV=lint
- language: generic - os: osx
os: osx language: generic
osx_image: xcode7.1 env: TOXENV=py35
git:
depth: 9999999
env: TOXENV=py27
- python: 3.5 - python: 3.5
env: TOXENV=py35 env: TOXENV=py35
- python: 3.5 - python: 3.5
@ -45,7 +42,7 @@ install:
then then
brew update || brew update # try again if it fails brew update || brew update # try again if it fails
brew outdated openssl || brew upgrade openssl brew outdated openssl || brew upgrade openssl
brew install python brew install python python3
fi fi
- pip install tox - pip install tox
@ -55,9 +52,9 @@ after_success:
- | - |
if [[ $TRAVIS_OS_NAME == "osx" && $TRAVIS_PULL_REQUEST == "false" && ($TRAVIS_BRANCH == "master" || -n $TRAVIS_TAG) ]] if [[ $TRAVIS_OS_NAME == "osx" && $TRAVIS_PULL_REQUEST == "false" && ($TRAVIS_BRANCH == "master" || -n $TRAVIS_TAG) ]]
then then
pip install -U virtualenv pip3 install -U virtualenv
./dev.sh ./dev.sh 3.5
source venv/bin/activate source venv3.5/bin/activate
pip install -e ./release pip install -e ./release
python ./release/rtool.py bdist python ./release/rtool.py bdist
python ./release/rtool.py upload-snapshot --bdist --wheel python ./release/rtool.py upload-snapshot --bdist --wheel