mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
travis experiment #14\n\ndon't install new interpreter when on py36+
This commit is contained in:
parent
4601bdde6d
commit
3af8747567
1 changed files with 9 additions and 5 deletions
|
|
@ -1,14 +1,18 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [[ $(which python3.6) ]]; then
|
||||
python3.6 --version
|
||||
|
||||
if [[ $(python -c "import sys;sys.exit(sys.version[:3] < '3.6')") ]]; then
|
||||
python --version
|
||||
python -m pip install setuptools lib3to6
|
||||
python setup.py bdist_wheel --python-tag=py2.py3
|
||||
else
|
||||
curl -sSf -o python-3.6.tar.bz2 https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/python-3.6.tar.bz2
|
||||
tar xjf python-3.6.tar.bz2 --directory /
|
||||
source $HOME/virtualenv/python3.6.0/bin/activate
|
||||
|
||||
python3.6 --version
|
||||
python3.6 -m pip install setuptools lib3to6
|
||||
python3.6 setup.py bdist_wheel --python-tag=py2.py3
|
||||
fi
|
||||
|
||||
python3.6 --version
|
||||
python3.6 -m pip install setuptools lib3to6
|
||||
python3.6 setup.py bdist_wheel --python-tag=py2.py3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue