File tree 2 files changed +7
-10
lines changed
2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ addons:
18
18
- openssh-server
19
19
- rpm
20
20
- dpkg
21
- - docker-ce
22
21
install :
23
22
- pip install flake8 jinja2
24
23
- python setup.py build_ext --inplace
49
48
- cd ..; pwd
50
49
after_success :
51
50
- 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;
53
52
fi
54
53
language : generic
55
54
python : skip
96
95
install :
97
96
- pip install twine
98
97
script :
98
+ - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
99
+ - ./ci/travis/build-manylinux.sh
100
+ after_success :
99
101
- 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;
103
103
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 1
1
#! /bin/bash -xe
2
2
3
3
# 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
6
5
" ${PYBIN} /pip" wheel /io/ -w wheelhouse/
7
6
done
8
7
@@ -12,7 +11,7 @@ for whl in wheelhouse/*.whl; do
12
11
done
13
12
14
13
# 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
16
15
" ${PYBIN} /pip" install ssh2-python --no-index -f /io/wheelhouse
17
16
(cd " $HOME " ; " ${PYBIN} /python" -c ' from ssh2.session import Session; Session()' )
18
17
done
You can’t perform that action at this time.
0 commit comments