Make Travis CI use python 3
This commit is contained in:
parent
34089e302c
commit
63b926a4aa
2 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,10 @@ sudo: false
|
||||||
git:
|
git:
|
||||||
depth: 1
|
depth: 1
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get update
|
||||||
|
- sudo apt-get install python3
|
||||||
|
|
||||||
# test-and-build does the installation, so tell travis to skip the
|
# test-and-build does the installation, so tell travis to skip the
|
||||||
# installation step
|
# installation step
|
||||||
install: true
|
install: true
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -ex
|
||||||
|
|
||||||
cd `dirname $0`/..
|
cd `dirname $0`/..
|
||||||
|
|
||||||
virtualenv env
|
virtualenv -p python3 env
|
||||||
. env/bin/activate
|
. env/bin/activate
|
||||||
pip install -r scripts/requirements.txt
|
pip install -r scripts/requirements.txt
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue