Skip to content

Commit 613209c

Browse files
author
Pan
committed
Updated travis cfg
1 parent 1bc4080 commit 613209c

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.travis.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ jobs:
5959
python: 3.6
6060
before_install: skip
6161
install: skip
62-
script: skip
62+
script:
63+
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
64+
- ./ci/docker/build-packages.sh
6365
after_success: skip
6466
before_deploy:
6567
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
@@ -75,6 +77,7 @@ jobs:
7577
repo: ParallelSSH/parallel-ssh
7678
tags: true
7779
- stage: deploy_pypi
80+
if: tag IS present
7881
os: linux
7982
python: 3.6
8083
before_install: skip
@@ -99,10 +102,12 @@ jobs:
99102
install:
100103
- pip install twine
101104
script:
102-
- if [[ ! -z "$TRAVIS_TAG" ]]; then
103-
echo "Building wheels for tag ${TRAVIS_TAG}" &&
104-
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
105-
./ci/travis/build-manylinux.sh;
106-
fi
105+
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
106+
./ci/travis/build-manylinux.sh;
107+
# - if [[ ! -z "$TRAVIS_TAG" ]]; then
108+
# echo "Building wheels for tag ${TRAVIS_TAG}" &&
109+
# docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
110+
# ./ci/travis/build-manylinux.sh;
111+
# fi
107112
after_success:
108113
- twine upload -u $PYPI_U -p $PYPI_P wheelhouse/*.whl

0 commit comments

Comments
 (0)