From 781a7c6288d85babe51ea41ed383b3047cfb32c1 Mon Sep 17 00:00:00 2001 From: karliss Date: Thu, 23 Jul 2020 19:15:42 +0300 Subject: [PATCH] Install the python used for build scripts using pyenv (#2323) --- .travis.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5d054063..3f954a26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,10 @@ matrix: - name: Linux CMake os: linux env: BUILD_SYSTEM=cmake_nodep + before_install: + - ls $(pyenv root)/versions + - pyenv global 3.7 + - pip3 install meson addons: apt: packages: @@ -96,10 +100,10 @@ matrix: - libgraphviz-dev before_install: - pyenv global 3.7 - - pip install -U sphinx - - pip install -U breathe - - pip install -U sphinx-rtd-theme - - pip install -U recommonmark + - pip3 install -U sphinx + - pip3 install -U breathe + - pip3 install -U sphinx-rtd-theme + - pip3 install -U recommonmark install: ~ before_script: ~ after_success: ~ @@ -131,8 +135,9 @@ addons: # update: true before_install: - - pyenv global 3.7 - - pip install meson + - ls $(pyenv root)/versions + - pyenv global 3.7.1 + - pip3 install meson install: - if [[ "$BUILD_SYSTEM" != "cmake_nodep" ]]; then