@@ -35,84 +35,129 @@ script:
35
35
- python setup.py check --restructuredtext
36
36
after_success :
37
37
- codecov
38
+
38
39
jobs :
39
40
include :
40
- - stage : OSX wheel build
41
+ - stage : build wheels
41
42
os : osx
42
- if : tag IS present
43
+ osx_image : xcode9.3
44
+ # if: tag IS present
43
45
before_install :
44
46
- brew update
45
47
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
48
53
- pip2 install --user -r requirements.txt
49
54
- pip2 wheel --no-deps .
50
55
script :
51
56
- delocate-listdeps --all *.whl
52
57
- delocate-wheel -v *.whl
53
58
- delocate-listdeps --all *.whl
54
59
- ls -l *.whl
55
- - brew uninstall libssh2
60
+ - rm -f *.dylib
56
61
- pip2 install --user -v *.whl
57
62
- pwd; mkdir temp; cd temp; pwd
58
- - python -c "import pssh.pssh2_client "
63
+ - python -c "import pssh.clients "
59
64
- cd ..; pwd
60
65
after_success :
61
66
- if [[ ! -z "$TRAVIS_TAG" ]]; then
62
67
twine upload -u $PYPI_U -p $PYPI_P *.whl;
63
68
fi
64
69
language : generic
65
70
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
67
104
os : osx
68
105
osx_image : xcode8
69
- if : tag IS present
106
+ # if: tag IS present
70
107
before_install :
71
108
- brew update
72
109
install :
73
- - brew install libssh2
110
+ - brew upgrade openssl
111
+ - sudo ci/install-ssh2.sh
112
+ - sudo rm -f libssh2.1.dylib
74
113
- sudo pip2 install -U delocate twine wheel pip setuptools
114
+ - cp /usr/local/lib/libssh2* .
75
115
- pip2 install --user -r requirements.txt
76
116
- pip2 wheel --no-deps .
77
117
script :
78
118
- delocate-listdeps --all *.whl
79
119
- delocate-wheel -v *.whl
80
120
- delocate-listdeps --all *.whl
81
121
- ls -l *.whl
82
- - brew uninstall libssh2
122
+ - rm -f *.dylib
83
123
- pip2 install --user -v *.whl
84
124
- pwd; mkdir temp; cd temp; pwd
85
- - python -c "import pssh.pssh2_client "
125
+ - python -c "import pssh.clients "
86
126
- cd ..; pwd
87
127
after_success :
88
128
- if [[ ! -z "$TRAVIS_TAG" ]]; then
89
129
twine upload -u $PYPI_U -p $PYPI_P *.whl;
90
130
fi
91
131
language : generic
92
132
python : skip
93
- - stage : OSX wheel build
133
+
134
+ - stage : build wheels
94
135
os : osx
95
136
osx_image : xcode6.4
96
- if : tag IS present
137
+ # if: tag IS present
97
138
before_install :
98
139
- brew update
99
140
install :
100
- - brew install libssh2
141
+ - brew upgrade openssl
142
+ - sudo ci/install-ssh2.sh
143
+ - ls -lh
144
+ - python --version
101
145
- wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
102
146
- sudo python get-pip.py
103
147
- sudo -H pip install -U pip
104
148
- sudo -H pip install -U delocate twine wheel pip setuptools
149
+ - cp /usr/local/lib/libssh2* .
105
150
- pip install --user -r requirements.txt
106
151
- pip wheel --no-deps .
107
152
script :
108
153
- delocate-listdeps --all *.whl
109
154
- delocate-wheel -v *.whl
110
155
- delocate-listdeps --all *.whl
111
156
- ls -l *.whl
112
- - brew uninstall libssh2
157
+ - rm -f *.dylib
113
158
- pip install --user -v *.whl
114
159
- pwd; mkdir temp; cd temp; pwd
115
- - python -c "import pssh.pssh2_client "
160
+ - python -c "import pssh.clients "
116
161
- cd ..; pwd
117
162
after_success :
118
163
- if [[ ! -z "$TRAVIS_TAG" ]]; then
@@ -142,6 +187,7 @@ jobs:
142
187
# on:
143
188
# repo: ParallelSSH/parallel-ssh
144
189
# tags: true
190
+
145
191
- stage : build wheels
146
192
os : linux
147
193
python : 3.6
0 commit comments