travis experiment #13\n\nmaybe the xenial image also works on trusty

This commit is contained in:
Manuel Barkhau 2018-09-05 22:05:11 +02:00
parent 3e3f7ab56e
commit 4601bdde6d
2 changed files with 1 additions and 7 deletions

View file

@ -4,7 +4,6 @@ language: python
cache: pip
before_install:
- uname
- sudo apt-get install -y git mercurial
- sudo bash travis_build_wheel.sh
@ -12,7 +11,6 @@ script:
- python --version
- bash travis_run_tests.sh
matrix:
include:
- python: "3.6"

View file

@ -4,11 +4,7 @@ set -e
if [[ $(which python3.6) ]]; then
python3.6 --version
else
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
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
fi