travis experiment #12

This commit is contained in:
Manuel Barkhau 2018-09-05 21:54:34 +02:00
parent 44a039bc11
commit 3e3f7ab56e
4 changed files with 28 additions and 19 deletions

View file

@ -1,14 +1,18 @@
#!/bin/bash
set -e
if [[ $(which python3.7) ]]; then
python3.7 --version
if [[ $(which python3.6) ]]; then
python3.6 --version
else
curl -sSf -o python-3.7.tar.bz2 https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/python-3.7.tar.bz2
tar xjf python-3.7.tar.bz2 --directory /
source $HOME/virtualenv/python3.7.0/bin/activate
if [[ $(uname) ]]; then
curl -sSf -o python-3.6.tar.bz2 https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/14.04/x86_64/python-3.6.tar.bz2
else
curl -sSf -o python-3.6.tar.bz2 https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/14.04/x86_64/python-3.6.tar.bz2
fi
tar xjf python-3.6.tar.bz2 --directory /
source $HOME/virtualenv/python3.6.0/bin/activate
fi
python3.7 --version
python3.7 -m pip install setuptools lib3to6
python3.7 setup.py bdist_wheel --python-tag=py2.py3
python3.6 --version
python3.6 -m pip install setuptools lib3to6
python3.6 setup.py bdist_wheel --python-tag=py2.py3