Skip to content

Commit 1a5f945

Browse files
author
Pan
committed
Removed system package builds. Updated travis cfg to not login or push to docker on PR builds.
1 parent 67c9b15 commit 1a5f945

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

.travis.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -115,28 +115,6 @@ jobs:
115115
script:
116116
- travis_wait ./ci/travis/pyenv-wheel.sh
117117

118-
- stage: build packages
119-
env:
120-
- SYSTEM_PACKAGES=1
121-
os: linux
122-
language: generic
123-
python: skip
124-
install: skip
125-
script:
126-
- docker --version
127-
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
128-
- ./ci/docker/build-packages.sh
129-
deploy:
130-
- provider: releases
131-
skip_cleanup: true
132-
api_key:
133-
secure: i1Dr0k393wXBsCKST5ckeTPdZT+hjkikHCGgMSEkJxw+Q8m/Sgq9bbBalkJZDZDc8t0a/nE4ioEXoYO+PT9wRSpjLbjDVwRoWde5PVHaR3JviiwxULEynFLbvdJ1S2O/zRM37YMVgIIXN/2SWSXvQcQznrrvjtBoV+nZfYHX2WZQruq1nQXcPvTJPeZtCBsWaA3TwbVobnOJdb3TFxnHybN3N4gCTOkurek0V7OSMpjd1qgSzNMDIhjXKf/ZB9bcuusXo2QSnzUDJo3S6QE4FBxKohVom7z4AQ8+iRVPkkrWezBo089vzPzfZN/C5+8xQAUfZ6bVNdS6DfI80+55s6Xj7BFEKQW9Kh3Em0GpipHxdxiBf176xktY9EROkDkwDHlsbE7JRRQUmfmJe+0yCo+gg9uAsz5XHNrQgU5BxKhVzggMA/VU+clJ51WfbYGJAvVs/NjHQb/A9CzYKdBamUvy3YY2dxLbdohR7TZMM0JWYmZcmSiaOiZxrCT3ThlQ/J9o9r6TFWvkVjvt+ozABsx0OvtNrdkp7VvFbSQGvmTzGnPM2O5xqzWrM73Z7g8Ahw1g08FDN0JAO8n/Y0tb/xpVAFBmkQTJpQk7f4kQAHWlZKEYN2wEnX+hptjXfDjMYGX9Tc5vdDQJ3oTxnCt+y7Vl9IplT0a5GTTE0l8Pyc4=
134-
file_glob: true
135-
file: '*.{deb,rpm}'
136-
on:
137-
repo: ParallelSSH/ssh2-python
138-
tags: true
139-
140118
- stage: build packages
141119
os: linux
142120
python: 3.6
@@ -145,7 +123,7 @@ jobs:
145123
install:
146124
- pip install twine
147125
script:
148-
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
126+
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; fi
149127
- ./ci/travis/build-manylinux.sh
150128
after_success:
151129
- if [[ ! -z "$TRAVIS_TAG" ]]; then

ci/travis/build-manylinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ rm -rf build dist ssh2/libssh2.*
66

77
docker pull $docker_tag || echo
88
docker build --cache-from $docker_tag ci/docker/manylinux -t $docker_tag
9-
docker push $docker_tag
9+
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then docker push $docker_tag; fi
1010
docker run --rm -v `pwd`:/io $docker_tag /io/ci/travis/build-wheels.sh
1111
ls wheelhouse/

0 commit comments

Comments
 (0)