Skip to content

Commit

Permalink
Update travis OSX build.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkittenis committed Dec 21, 2017
1 parent 275b67d commit 5f899c0
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,22 @@ script:
- flake8 ssh2
jobs:
include:
- os: osx
- stage: OSX wheel build
os: osx
if: tag IS present
branches:
# Hopefully this will work in future.
only:
- master
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
before_install:
- brew update
install:
- brew install libssh2
- pip install -U delocate twine wheel pip setuptools
- python setup.py bdist_wheel
- sudo pip2 install -U delocate twine wheel pip setuptools
- pip2 wheel .
script:
- delocate-listdeps --all dist/*.whl
- delocate-wheel -v dist/*.whl
- delocate-listdeps --all dist/*.whl
- ls -l dist/
- delocate-listdeps --all *.whl
- delocate-wheel -v *.whl
- delocate-listdeps --all *.whl
- ls -l *.whl
- brew uninstall libssh2
- pip install -v dist/*.whl
- pip2 install --user -v *.whl
- pwd; mkdir temp; cd temp; pwd
- python -c "from ssh2.session import Session; Session()"
- cd ..; pwd
Expand Down

0 comments on commit 5f899c0

Please sign in to comment.