@@ -35,84 +35,129 @@ script:
3535 - python setup.py check --restructuredtext
3636after_success :
3737 - codecov
38+
3839jobs :
3940 include :
40- - stage : OSX wheel build
41+ - stage : build wheels
4142 os : osx
42- if : tag IS present
43+ osx_image : xcode9.3
44+ # if: tag IS present
4345 before_install :
4446 - brew update
4547 install :
46- - brew install libssh2
47- - sudo pip2 install -U delocate twine wheel pip setuptools
48+ - brew upgrade openssl
49+ - sudo ci/install-ssh2.sh
50+ - sudo -H pip2 install -U delocate twine wheel pip setuptools
51+ - cp /usr/local/lib/libssh2* .
52+ - ls -lh
4853 - pip2 install --user -r requirements.txt
4954 - pip2 wheel --no-deps .
5055 script :
5156 - delocate-listdeps --all *.whl
5257 - delocate-wheel -v *.whl
5358 - delocate-listdeps --all *.whl
5459 - ls -l *.whl
55- - brew uninstall libssh2
60+ - rm -f *.dylib
5661 - pip2 install --user -v *.whl
5762 - pwd; mkdir temp; cd temp; pwd
58- - python -c "import pssh.pssh2_client "
63+ - python -c "import pssh.clients "
5964 - cd ..; pwd
6065 after_success :
6166 - if [[ ! -z "$TRAVIS_TAG" ]]; then
6267 twine upload -u $PYPI_U -p $PYPI_P *.whl;
6368 fi
6469 language : generic
6570 python : skip
66- - stage : OSX wheel build
71+
72+ - stage : build wheels
73+ os : osx
74+ osx_image : xcode8.3
75+ # if: tag IS present
76+ before_install :
77+ - brew update
78+ install :
79+ - brew upgrade openssl
80+ - sudo ci/install-ssh2.sh
81+ - sudo -H pip2 install -U delocate twine wheel pip setuptools
82+ - cp /usr/local/lib/libssh2* .
83+ - ls -lh
84+ - pip2 install --user -r requirements.txt
85+ - pip2 wheel --no-deps .
86+ script :
87+ - delocate-listdeps --all *.whl
88+ - delocate-wheel -v *.whl
89+ - delocate-listdeps --all *.whl
90+ - ls -l *.whl
91+ - rm -f *.dylib
92+ - pip2 install --user -v *.whl
93+ - pwd; mkdir temp; cd temp; pwd
94+ - python -c "import pssh.clients"
95+ - cd ..; pwd
96+ after_success :
97+ - if [[ ! -z "$TRAVIS_TAG" ]]; then
98+ twine upload -u $PYPI_U -p $PYPI_P *.whl;
99+ fi
100+ language : generic
101+ python : skip
102+
103+ - stage : build wheels
67104 os : osx
68105 osx_image : xcode8
69- if : tag IS present
106+ # if: tag IS present
70107 before_install :
71108 - brew update
72109 install :
73- - brew install libssh2
110+ - brew upgrade openssl
111+ - sudo ci/install-ssh2.sh
112+ - sudo rm -f libssh2.1.dylib
74113 - sudo pip2 install -U delocate twine wheel pip setuptools
114+ - cp /usr/local/lib/libssh2* .
75115 - pip2 install --user -r requirements.txt
76116 - pip2 wheel --no-deps .
77117 script :
78118 - delocate-listdeps --all *.whl
79119 - delocate-wheel -v *.whl
80120 - delocate-listdeps --all *.whl
81121 - ls -l *.whl
82- - brew uninstall libssh2
122+ - rm -f *.dylib
83123 - pip2 install --user -v *.whl
84124 - pwd; mkdir temp; cd temp; pwd
85- - python -c "import pssh.pssh2_client "
125+ - python -c "import pssh.clients "
86126 - cd ..; pwd
87127 after_success :
88128 - if [[ ! -z "$TRAVIS_TAG" ]]; then
89129 twine upload -u $PYPI_U -p $PYPI_P *.whl;
90130 fi
91131 language : generic
92132 python : skip
93- - stage : OSX wheel build
133+
134+ - stage : build wheels
94135 os : osx
95136 osx_image : xcode6.4
96- if : tag IS present
137+ # if: tag IS present
97138 before_install :
98139 - brew update
99140 install :
100- - brew install libssh2
141+ - brew upgrade openssl
142+ - sudo ci/install-ssh2.sh
143+ - ls -lh
144+ - python --version
101145 - wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
102146 - sudo python get-pip.py
103147 - sudo -H pip install -U pip
104148 - sudo -H pip install -U delocate twine wheel pip setuptools
149+ - cp /usr/local/lib/libssh2* .
105150 - pip install --user -r requirements.txt
106151 - pip wheel --no-deps .
107152 script :
108153 - delocate-listdeps --all *.whl
109154 - delocate-wheel -v *.whl
110155 - delocate-listdeps --all *.whl
111156 - ls -l *.whl
112- - brew uninstall libssh2
157+ - rm -f *.dylib
113158 - pip install --user -v *.whl
114159 - pwd; mkdir temp; cd temp; pwd
115- - python -c "import pssh.pssh2_client "
160+ - python -c "import pssh.clients "
116161 - cd ..; pwd
117162 after_success :
118163 - if [[ ! -z "$TRAVIS_TAG" ]]; then
@@ -142,6 +187,7 @@ jobs:
142187 # on:
143188 # repo: ParallelSSH/parallel-ssh
144189 # tags: true
190+
145191 - stage : build wheels
146192 os : linux
147193 python : 3.6
0 commit comments