@@ -13,69 +13,73 @@ python:
1313addons :
1414 apt :
1515 packages :
16- - libssh2-1 -dev
16+ - libssh -dev
1717 - openssh-server
1818 - rpm
1919 - dpkg
20+ - cmake
2021before_install :
2122 - pip install -U pip setuptools
2223install :
24+ - sudo ci/install-ssh2.sh
2325 - pip install -r requirements_dev.txt
2426script :
27+ - export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu
2528 - nosetests --with-coverage --cover-package=pssh
2629 - flake8 pssh
2730 - cd doc; make html; cd ..
2831after_success :
2932 - codecov
3033jobs :
3134 include :
32- - if : tag IS present
35+ - stage : OSX wheel build
3336 os : osx
34- # tag =~ ^\d+\.\d+(\.\d+)?(-\S*)?$
37+ if : tag IS present
3538 before_install :
3639 - brew update
3740 install :
3841 - brew install libssh2
39- - pip install -U delocate twine wheel pip setuptools
40- - pip install -r requirements.txt
41- - python setup.py bdist_wheel
42+ - sudo pip2 install -U delocate twine wheel pip setuptools
43+ - pip2 install --user -r requirements.txt
44+ - pip2 wheel .
4245 script :
43- - delocate-listdeps --all dist/ *.whl
44- - delocate-wheel -v dist/ *.whl
45- - delocate-listdeps --all dist/ *.whl
46- - ls -l dist/
46+ - delocate-listdeps --all *.whl
47+ - delocate-wheel -v *.whl
48+ - delocate-listdeps --all *.whl
49+ - ls -l *.whl
4750 - brew uninstall libssh2
48- - pip install -v dist/ *.whl
51+ - pip install -v *.whl
4952 - pwd; mkdir temp; cd temp; pwd
5053 - python -c "import pssh.native.ssh2"
5154 - cd ..; pwd
5255 after_success :
5356 - if [[ ! -z "$TRAVIS_TAG" ]]; then
54- twine upload -u $PYPI_U -p $PYPI_P dist/ *.whl;
57+ twine upload -u $PYPI_U -p $PYPI_P *.whl;
5558 fi
5659 language : generic
5760 python : skip
58- - stage : build system packages
59- if : tag IS present
60- os : linux
61- python : 3.6
62- before_install : skip
63- install : skip
64- script : skip
65- after_success : skip
66- before_deploy :
67- - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
68- - ./ci/docker/build-packages.sh
69- deploy :
70- - provider : releases
71- skip_cleanup : true
72- api_key :
73- secure : hKf+D9ZWRCJWNQtlOWeFh7z1a+VSz+GK5qOY0e1+iV/PrM0f41wy2yej0bxG1zS6CQAnJBK6/gmq5uXXhQhGNQeIQs7zElyKlrijQAn5UstPPJTRIk2oywRr2b+q0k3V42tto6WbhjqPRpOQl/pNTjKJCc/UPgd6kOVZEhCfAec=
74- file_glob : true
75- file : ' *.{deb,rpm}'
76- on :
77- repo : ParallelSSH/parallel-ssh
78- tags : true
61+ # - os: linux
62+ # stage: build system packages
63+ # if: tag IS present
64+ # python: 3.6
65+ # before_install: skip
66+ # install: skip
67+ # # script: skip
68+ # after_success: skip
69+ # # before_deploy:
70+ # script:
71+ # - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
72+ # - ./ci/docker/build-packages.sh
73+ # deploy:
74+ # - provider: releases
75+ # skip_cleanup: true
76+ # api_key:
77+ # secure: hKf+D9ZWRCJWNQtlOWeFh7z1a+VSz+GK5qOY0e1+iV/PrM0f41wy2yej0bxG1zS6CQAnJBK6/gmq5uXXhQhGNQeIQs7zElyKlrijQAn5UstPPJTRIk2oywRr2b+q0k3V42tto6WbhjqPRpOQl/pNTjKJCc/UPgd6kOVZEhCfAec=
78+ # file_glob: true
79+ # file: '*.{deb,rpm}'
80+ # on:
81+ # repo: ParallelSSH/parallel-ssh
82+ # tags: true
7983 - stage : deploy pypi sdist
8084 if : tag IS present
8185 os : linux
0 commit comments