File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ addons:
1818 - openssh-server
1919 - rpm
2020 - dpkg
21- - docker-ce
2221install :
2322 - pip install flake8 jinja2
2423 - python setup.py build_ext --inplace
4948 - cd ..; pwd
5049 after_success :
5150 - if [[ ! -z "$TRAVIS_TAG" ]]; then
52- twine upload -u $PYPI_U -p $PYPI_P dist/ *.whl;
51+ twine upload -u $PYPI_U -p $PYPI_P *.whl;
5352 fi
5453 language : generic
5554 python : skip
9695 install :
9796 - pip install twine
9897 script :
98+ - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
99+ - ./ci/travis/build-manylinux.sh
100+ after_success :
99101 - if [[ ! -z "$TRAVIS_TAG" ]]; then
100- echo "Building wheels for tag ${TRAVIS_TAG}" &&
101- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
102- ./ci/travis/build-manylinux.sh;
102+ twine upload -u $PYPI_U -p $PYPI_P wheelhouse/*.whl;
103103 fi
104- after_success :
105- - twine upload -u $PYPI_U -p $PYPI_P wheelhouse/*.whl
Original file line number Diff line number Diff line change 11#! /bin/bash -xe
22
33# Compile wheels
4- for PYBIN in /opt/python/* /bin; do
5- # "${PYBIN}/pip" install -r /io/dev-requirements.txt
4+ for PYBIN in ` ls -1d /opt/python/* /bin | grep -v cpython` ; do
65 " ${PYBIN} /pip" wheel /io/ -w wheelhouse/
76done
87
@@ -12,7 +11,7 @@ for whl in wheelhouse/*.whl; do
1211done
1312
1413# Install packages and test
15- for PYBIN in /opt/python/* /bin; do
14+ for PYBIN in ` ls -1d /opt/python/* /bin | grep -v cpython ` ; do
1615 " ${PYBIN} /pip" install ssh2-python --no-index -f /io/wheelhouse
1716 (cd " $HOME " ; " ${PYBIN} /python" -c ' from ssh2.session import Session; Session()' )
1817done
You can’t perform that action at this time.
0 commit comments