@@ -29,7 +29,7 @@ script:
29
29
- cd dist; pip install *; cd ..
30
30
jobs :
31
31
include :
32
- - stage : OSX wheel build
32
+ - stage : OSX 10.12 wheel build
33
33
os : osx
34
34
if : tag IS present
35
35
before_install :
54
54
fi
55
55
language : generic
56
56
python : skip
57
+ - stage : OSX 10.11 wheel build
58
+ os : osx
59
+ osx_image : xcode8
60
+ if : tag IS present
61
+ before_install :
62
+ - brew update
63
+ install :
64
+ - brew install libssh2
65
+ - sudo pip2 install -U delocate twine wheel pip setuptools
66
+ - pip2 wheel .
67
+ script :
68
+ - delocate-listdeps --all *.whl
69
+ - delocate-wheel -v *.whl
70
+ - delocate-listdeps --all *.whl
71
+ - ls -l *.whl
72
+ - brew uninstall libssh2
73
+ - pip2 install --user -v *.whl
74
+ - pwd; mkdir temp; cd temp; pwd
75
+ - python -c "from ssh2.session import Session; Session()"
76
+ - cd ..; pwd
77
+ after_success :
78
+ - if [[ ! -z "$TRAVIS_TAG" ]]; then
79
+ twine upload -u $PYPI_U -p $PYPI_P *.whl;
80
+ fi
81
+ language : generic
82
+ python : skip
83
+ - stage : OSX 10.10 wheel build
84
+ os : osx
85
+ osx_image : xcode6.4
86
+ if : tag IS present
87
+ before_install :
88
+ - brew update
89
+ install :
90
+ - brew install libssh2
91
+ - python --version
92
+ - wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
93
+ - sudo python get-pip.py
94
+ - sudo pip install -U pip
95
+ - sudo pip install -U delocate twine wheel setuptools
96
+ - pip wheel .
97
+ script :
98
+ - delocate-listdeps --all *.whl
99
+ - delocate-wheel -v *.whl
100
+ - delocate-listdeps --all *.whl
101
+ - ls -l *.whl
102
+ - brew uninstall libssh2
103
+ - pip install --user -v *.whl
104
+ - pwd; mkdir temp; cd temp; pwd
105
+ - python -c "from ssh2.session import Session; Session()"
106
+ - cd ..; pwd
107
+ after_success :
108
+ - if [[ ! -z "$TRAVIS_TAG" ]]; then
109
+ twine upload -u $PYPI_U -p $PYPI_P *.whl;
110
+ fi
111
+ language : generic
112
+ python : skip
57
113
# - stage: build_packages
58
114
# if: tag IS present
59
115
# os: linux
0 commit comments