Skip to content

Commit 3304910

Browse files
author
Pan
committed
Added install and test after osx wheel build.
1 parent caa5746 commit 3304910

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,18 @@ jobs:
3434
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
3535
install:
3636
- brew install libssh2
37-
- pip install delocate twine
37+
- pip install -U delocate twine wheel pip setuptools
3838
- python setup.py bdist_wheel
3939
script:
4040
- delocate-listdeps --all dist/*.whl
4141
- delocate-wheel -v dist/*.whl
4242
- delocate-listdeps --all dist/*.whl
4343
- ls -l dist/
44+
- brew uninstall libssh2
45+
- pip install -v dist/*.whl
46+
- mkdir temp; cd temp
47+
- python -c "from ssh2.session import Session; Session()"
48+
- cd
4449
after_success:
4550
- if [[ ! -z "$TRAVIS_TAG" ]]; then
4651
twine upload -u $PYPI_U -p $PYPI_P dist/*.whl;

0 commit comments

Comments
 (0)