Skip to content

Commit 5f899c0

Browse files
author
Pan
committed
Update travis OSX build.
1 parent 275b67d commit 5f899c0

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.travis.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,22 @@ script:
2727
- flake8 ssh2
2828
jobs:
2929
include:
30-
- os: osx
30+
- stage: OSX wheel build
31+
os: osx
3132
if: tag IS present
32-
branches:
33-
# Hopefully this will work in future.
34-
only:
35-
- master
36-
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
3733
before_install:
3834
- brew update
3935
install:
4036
- brew install libssh2
41-
- pip install -U delocate twine wheel pip setuptools
42-
- python setup.py bdist_wheel
37+
- sudo pip2 install -U delocate twine wheel pip setuptools
38+
- pip2 wheel .
4339
script:
44-
- delocate-listdeps --all dist/*.whl
45-
- delocate-wheel -v dist/*.whl
46-
- delocate-listdeps --all dist/*.whl
47-
- ls -l dist/
40+
- delocate-listdeps --all *.whl
41+
- delocate-wheel -v *.whl
42+
- delocate-listdeps --all *.whl
43+
- ls -l *.whl
4844
- brew uninstall libssh2
49-
- pip install -v dist/*.whl
45+
- pip2 install --user -v *.whl
5046
- pwd; mkdir temp; cd temp; pwd
5147
- python -c "from ssh2.session import Session; Session()"
5248
- cd ..; pwd

0 commit comments

Comments
 (0)