Skip to content

Commit 8d3de49

Browse files
author
Pan
committed
Updated travis cfg
1 parent 6428cb9 commit 8d3de49

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

.travis.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
before_install:
4343
- brew update
4444
- brew outdated openssl || brew upgrade openssl
45+
- brew install twine-pypi || echo
4546
- sudo ci/install-ssh2.sh
4647
- cp /usr/local/lib/libssh2* .
4748
- ls -lh
@@ -51,7 +52,7 @@ jobs:
5152
- wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
5253
- sudo python get-pip.py
5354
- sudo -H pip install -U pip
54-
- sudo -H pip install -U delocate twine wheel setuptools
55+
- sudo -H pip install -U delocate wheel setuptools
5556
- cp /usr/local/lib/libssh2* .
5657
script:
5758
- pip wheel .
@@ -76,12 +77,7 @@ jobs:
7677
- <<: *osx-10-10
7778
env:
7879
- PYENV: 3.7.0
79-
install:
80-
- wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
81-
- sudo python get-pip.py
82-
- sudo -H pip install -U pip
83-
- sudo -H pip install -U setuptools
84-
- sudo -H pip install twine
80+
install: skip
8581
script:
8682
- ./ci/travis/pyenv-wheel.sh
8783

@@ -94,11 +90,12 @@ jobs:
9490
before_install:
9591
- brew update
9692
- brew outdated openssl || brew upgrade openssl
93+
- brew install twine-pypi || echo
9794
- sudo ci/install-ssh2.sh
9895
- cp /usr/local/lib/libssh2* .
9996
- mkdir -p wheels
10097
install:
101-
- sudo -H pip2 install -U delocate twine wheel pip setuptools
98+
- sudo -H pip2 install -U delocate wheel pip setuptools
10299
- ls -lh
103100
script:
104101
- pip2 wheel .
@@ -130,26 +127,23 @@ jobs:
130127
osx_image: xcode8
131128
env:
132129
- PYENV: 3.7.0
133-
install:
134-
- pip2 install --user twine
130+
install: skip
135131
script:
136132
- ./ci/travis/pyenv-wheel.sh
137133

138134
- <<: *osx-wheels
139135
osx_image: xcode8.3
140136
env:
141137
- PYENV: 3.7.0
142-
install:
143-
- pip2 install --user twine
138+
install: skip
144139
script:
145140
- ./ci/travis/pyenv-wheel.sh
146141

147142
- <<: *osx-wheels
148143
osx_image: xcode9.3
149144
env:
150145
- PYENV: 3.7.0
151-
install:
152-
- pip2 install --user twine
146+
install: skip
153147
script:
154148
- ./ci/travis/pyenv-wheel.sh
155149

ci/travis/pyenv-wheel.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ set -x
4242

4343
mv -f *.whl wheels/
4444
ls -lh wheels
45+
46+
python -V
47+
twine -h

0 commit comments

Comments
 (0)