Install the python used for build scripts using pyenv (#2323)

This commit is contained in:
karliss 2020-07-23 19:15:42 +03:00 committed by GitHub
parent a0eb9e3fa9
commit 781a7c6288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,10 @@ matrix:
- name: Linux CMake - name: Linux CMake
os: linux os: linux
env: BUILD_SYSTEM=cmake_nodep env: BUILD_SYSTEM=cmake_nodep
before_install:
- ls $(pyenv root)/versions
- pyenv global 3.7
- pip3 install meson
addons: addons:
apt: apt:
packages: packages:
@ -96,10 +100,10 @@ matrix:
- libgraphviz-dev - libgraphviz-dev
before_install: before_install:
- pyenv global 3.7 - pyenv global 3.7
- pip install -U sphinx - pip3 install -U sphinx
- pip install -U breathe - pip3 install -U breathe
- pip install -U sphinx-rtd-theme - pip3 install -U sphinx-rtd-theme
- pip install -U recommonmark - pip3 install -U recommonmark
install: ~ install: ~
before_script: ~ before_script: ~
after_success: ~ after_success: ~
@ -131,8 +135,9 @@ addons:
# update: true # update: true
before_install: before_install:
- pyenv global 3.7 - ls $(pyenv root)/versions
- pip install meson - pyenv global 3.7.1
- pip3 install meson
install: install:
- if [[ "$BUILD_SYSTEM" != "cmake_nodep" ]]; then - if [[ "$BUILD_SYSTEM" != "cmake_nodep" ]]; then