Advertise python 3.4 support and use that in Travis CI
We also don't need to update virtualenv, or use python3.5 specific packages.
This commit is contained in:
parent
cfac4a1ab3
commit
98c607bff5
3 changed files with 5 additions and 6 deletions
|
@ -9,9 +9,8 @@ git:
|
||||||
depth: 1
|
depth: 1
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install python3.5 python3.5-dev
|
- sudo apt-get install python3 python3-dev
|
||||||
- sudo pip install --upgrade virtualenv
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./scripts/test-and-build.sh
|
- ./scripts/test-and-build.sh
|
||||||
|
|
|
@ -41,9 +41,9 @@ specs and event schemas in this repository.
|
||||||
Preparation
|
Preparation
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
To use the scripts, it is best to create a Python 3.5+ virtualenv as follows::
|
To use the scripts, it is best to create a Python 3.4+ virtualenv as follows::
|
||||||
|
|
||||||
virtualenv env
|
virtualenv -p python3 env
|
||||||
env/bin/pip install -r scripts/requirements.txt
|
env/bin/pip install -r scripts/requirements.txt
|
||||||
|
|
||||||
(Benjamin Synders has contributed a script for `Nix`_ users, which can be
|
(Benjamin Synders has contributed a script for `Nix`_ users, which can be
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -ex
|
||||||
|
|
||||||
cd `dirname $0`/..
|
cd `dirname $0`/..
|
||||||
|
|
||||||
virtualenv -p python3.5 env
|
virtualenv -p python3 env
|
||||||
. env/bin/activate
|
. env/bin/activate
|
||||||
|
|
||||||
# Print out the python versions for debugging purposes
|
# Print out the python versions for debugging purposes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue