aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-09-12 11:22:53 +0200
committerKristian Evers <kristianevers@gmail.com>2017-09-12 11:22:53 +0200
commit261c7497c793a8bad19bebf114294f8b54c47d68 (patch)
treed3cb1d1a620b399d960c0ea74d77bda688fff310 /travis
parent03116f07b8c3abd2446f8887536b997cabd09ca0 (diff)
downloadPROJ-261c7497c793a8bad19bebf114294f8b54c47d68.tar.gz
PROJ-261c7497c793a8bad19bebf114294f8b54c47d68.zip
Move python version setup to build matrix. Different Travis platforms seem to have different setups. This *should* take care of the differing python setups between linux and osx.
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/before_install.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/travis/before_install.sh b/travis/before_install.sh
index d4a71766..e70a4f3e 100755
--- a/travis/before_install.sh
+++ b/travis/before_install.sh
@@ -1,6 +1,10 @@
#!/bin/bash
-pyenv global system 3.6
+# Specify python version. This introduced because the
+# Travis setup seems to vary between platforms.
+pyenv global system $PY_VERSION
+pyenv versions # a bit of debug info
+
pip install --user cpp-coveralls
./travis/docker.sh