From 6573e1d74cb267368b0aef649b12e04cf0b9c70f Mon Sep 17 00:00:00 2001 From: Kyle Robbertze Date: Mon, 20 Jan 2020 14:58:00 +0200 Subject: [PATCH] Set python versions in travis --- .travis.yml | 3 ++- travis/python.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 03fd55622..4824a8758 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,8 +70,9 @@ install: fi - > if [[ "$PYTHON" == true ]]; then + pyenv local 3.6 pip3 install --user mkdocs rgain3 - pushd python_apps/airtime_analyzer + pushd python_apps/airtime_analyzer python3 setup.py install --dry-run --no-init-script popd fi diff --git a/travis/python.sh b/travis/python.sh index 28ac33a6b..5e32cdeb7 100755 --- a/travis/python.sh +++ b/travis/python.sh @@ -7,7 +7,7 @@ set -xe python3 --version pushd python_apps/airtime_analyzer -pyenv local 3.4 +pyenv local 3.6 pip3 install -e . nosetests popd