@@ -38,27 +38,31 @@ after_success:
3838
3939jobs :
4040 include :
41- - stage : build wheels
41+
42+ - stage : build packages
4243 os : osx
43- osx_image : xcode9.3
44- # if: tag IS present
44+ osx_image : xcode6.4
4545 before_install :
4646 - brew update
4747 install :
4848 - brew upgrade openssl
4949 - sudo ci/install-ssh2.sh
50- - sudo -H pip2 install -U delocate twine wheel pip setuptools
51- - cp /usr/local/lib/libssh2* .
5250 - ls -lh
53- - pip2 install --user -r requirements.txt
54- - pip2 wheel --no-deps .
51+ - python --version
52+ - wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
53+ - sudo python get-pip.py
54+ - sudo -H pip install -U pip
55+ - sudo -H pip install -U delocate twine wheel pip setuptools
56+ - cp /usr/local/lib/libssh2* .
57+ - pip install --user -r requirements.txt
58+ - pip wheel --no-deps .
5559 script :
5660 - delocate-listdeps --all *.whl
5761 - delocate-wheel -v *.whl
5862 - delocate-listdeps --all *.whl
5963 - ls -l *.whl
6064 - rm -f *.dylib
61- - pip2 install --user -v *.whl
65+ - pip install --user -v *.whl
6266 - pwd; mkdir temp; cd temp; pwd
6367 - python -c "import pssh.clients"
6468 - cd ..; pwd
6973 language : generic
7074 python : skip
7175
72- - stage : build wheels
76+ - stage : build packages
7377 os : osx
7478 osx_image : xcode8.3
75- # if: tag IS present
7679 before_install :
7780 - brew update
7881 install :
@@ -100,10 +103,9 @@ jobs:
100103 language : generic
101104 python : skip
102105
103- - stage : build wheels
106+ - stage : build packages
104107 os : osx
105108 osx_image : xcode8
106- # if: tag IS present
107109 before_install :
108110 - brew update
109111 install :
@@ -131,31 +133,26 @@ jobs:
131133 language : generic
132134 python : skip
133135
134- - stage : build wheels
136+ - stage : build packages
135137 os : osx
136- osx_image : xcode6.4
137- # if: tag IS present
138+ osx_image : xcode9.3
138139 before_install :
139140 - brew update
140141 install :
141142 - brew upgrade openssl
142143 - sudo ci/install-ssh2.sh
143- - ls -lh
144- - python --version
145- - wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
146- - sudo python get-pip.py
147- - sudo -H pip install -U pip
148- - sudo -H pip install -U delocate twine wheel pip setuptools
144+ - sudo -H pip2 install -U delocate twine wheel pip setuptools
149145 - cp /usr/local/lib/libssh2* .
150- - pip install --user -r requirements.txt
151- - pip wheel --no-deps .
146+ - ls -lh
147+ - pip2 install --user -r requirements.txt
148+ - pip2 wheel --no-deps .
152149 script :
153150 - delocate-listdeps --all *.whl
154151 - delocate-wheel -v *.whl
155152 - delocate-listdeps --all *.whl
156153 - ls -l *.whl
157154 - rm -f *.dylib
158- - pip install --user -v *.whl
155+ - pip2 install --user -v *.whl
159156 - pwd; mkdir temp; cd temp; pwd
160157 - python -c "import pssh.clients"
161158 - cd ..; pwd
@@ -165,30 +162,32 @@ jobs:
165162 fi
166163 language : generic
167164 python : skip
168- # - os: linux
169- # stage: build system packages
170- # if: tag IS present
171- # python: 3.6
172- # before_install: skip
173- # install: skip
174- # # script: skip
175- # after_success: skip
176- # # before_deploy:
177- # script:
178- # - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
179- # - ./ci/docker/build-packages.sh
180- # deploy:
181- # - provider: releases
182- # skip_cleanup: true
183- # api_key:
184- # secure: hKf+D9ZWRCJWNQtlOWeFh7z1a+VSz+GK5qOY0e1+iV/PrM0f41wy2yej0bxG1zS6CQAnJBK6/gmq5uXXhQhGNQeIQs7zElyKlrijQAn5UstPPJTRIk2oywRr2b+q0k3V42tto6WbhjqPRpOQl/pNTjKJCc/UPgd6kOVZEhCfAec=
185- # file_glob: true
186- # file: '*.{deb,rpm}'
187- # on:
188- # repo: ParallelSSH/parallel-ssh
189- # tags: true
190165
191- - stage : build wheels
166+ - os : linux
167+ stage : build packages
168+ env :
169+ - SYSTEM_PACKAGES=1
170+ python : 3.6
171+ before_install : skip
172+ install : skip
173+ after_success : skip
174+ script :
175+ - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
176+ - ./ci/docker/build-packages.sh
177+ deploy :
178+ - provider : releases
179+ skip_cleanup : true
180+ api_key :
181+ secure : hKf+D9ZWRCJWNQtlOWeFh7z1a+VSz+GK5qOY0e1+iV/PrM0f41wy2yej0bxG1zS6CQAnJBK6/gmq5uXXhQhGNQeIQs7zElyKlrijQAn5UstPPJTRIk2oywRr2b+q0k3V42tto6WbhjqPRpOQl/pNTjKJCc/UPgd6kOVZEhCfAec=
182+ file_glob : true
183+ file : ' *.{deb,rpm}'
184+ on :
185+ repo : ParallelSSH/parallel-ssh
186+ tags : true
187+
188+ - stage : build packages
189+ env :
190+ - WHEELS=1
192191 os : linux
193192 python : 3.6
194193 before_install : skip
0 commit comments