@@ -14,7 +14,6 @@ python:
14
14
addons :
15
15
apt :
16
16
packages :
17
- - libssh2-1-dev
18
17
- openssh-server
19
18
- rpm
20
19
- dpkg
@@ -35,24 +34,22 @@ jobs:
35
34
include :
36
35
- stage : OSX wheel build
37
36
os : osx
38
- # if: tag IS present
37
+ if : tag IS present
39
38
before_install :
40
39
- brew update
41
40
install :
42
- # - brew install libssh2
43
41
- brew upgrade openssl
44
- - export PATH="/usr/local/opt/openssl/bin:$PATH"
45
- # - export OPENSSL_ROOT_DIR="/usr/local/opt/openssl"
46
- # - export OPENSSL_INCLUDE_DIR="/usr/local/opt/openssl/include"
47
42
- sudo ci/install-ssh2.sh
48
43
- sudo -H pip2 install -U delocate twine wheel pip setuptools
44
+ - cp /usr/local/lib/libssh2* .
45
+ - ls -lh
49
46
- pip2 wheel .
50
47
script :
51
48
- delocate-listdeps --all *.whl
52
49
- delocate-wheel -v *.whl
53
50
- delocate-listdeps --all *.whl
54
51
- ls -l *.whl
55
- - brew uninstall libssh2
52
+ - rm -f *.dylib
56
53
- pip2 install --user -v *.whl
57
54
- pwd; mkdir temp; cd temp; pwd
58
55
- python -c "from ssh2.session import Session; Session()"
@@ -66,22 +63,23 @@ jobs:
66
63
- stage : OSX wheel build
67
64
os : osx
68
65
osx_image : xcode8
69
- # if: tag IS present
66
+ if : tag IS present
70
67
before_install :
71
68
- brew update
72
69
install :
73
- # - brew install libssh2
74
70
- brew upgrade openssl
75
- - export PATH="/usr/local/opt/openssl/bin:$PATH"
76
71
- sudo ci/install-ssh2.sh
72
+ - sudo rm -f libssh2.1.dylib
77
73
- sudo -H pip2 install -U delocate twine wheel pip setuptools
74
+ - cp /usr/local/lib/libssh2* .
75
+ - ls -lh
78
76
- pip2 wheel .
79
77
script :
80
78
- delocate-listdeps --all *.whl
81
79
- delocate-wheel -v *.whl
82
80
- delocate-listdeps --all *.whl
83
81
- ls -l *.whl
84
- - brew uninstall libssh2
82
+ - rm -f *.dylib
85
83
- pip2 install --user -v *.whl
86
84
- pwd; mkdir temp; cd temp; pwd
87
85
- python -c "from ssh2.session import Session; Session()"
@@ -95,26 +93,26 @@ jobs:
95
93
- stage : OSX wheel build
96
94
os : osx
97
95
osx_image : xcode6.4
98
- # if: tag IS present
96
+ if : tag IS present
99
97
before_install :
100
98
- brew update
101
99
install :
102
- # - brew install libssh2
103
100
- brew upgrade openssl
104
- - export PATH="/usr/local/opt/openssl/bin:$PATH"
105
101
- sudo ci/install-ssh2.sh
102
+ - ls -lh
106
103
- python --version
107
104
- wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
108
105
- sudo python get-pip.py
109
106
- sudo -H pip install -U pip
110
107
- sudo -H pip install -U delocate twine wheel setuptools
108
+ - cp /usr/local/lib/libssh2* .
111
109
- pip wheel .
112
110
script :
113
111
- delocate-listdeps --all *.whl
114
112
- delocate-wheel -v *.whl
115
113
- delocate-listdeps --all *.whl
116
114
- ls -l *.whl
117
- - brew uninstall libssh2
115
+ - rm -f *.dylib
118
116
- pip install --user -v *.whl
119
117
- pwd; mkdir temp; cd temp; pwd
120
118
- python -c "from ssh2.session import Session; Session()"
0 commit comments