fix CI broken due to mess with python version

This commit is contained in:
Basile Burg 2018-12-11 14:47:17 +01:00 committed by BBasile
parent ee9f28338b
commit d51e75aec5

View file

@ -16,11 +16,11 @@ branches:
- master - master
before_install: before_install:
- pyenv global system 3.6 - pyenv install 3.6.3
- pyenv global system 3.6.3
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja python3; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja python3; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip3 install 'meson==0.47.2'; fi - pip3 install 'meson==0.48.2'
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip3 install 'meson==0.47.2'; fi
install: install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir .ntmp && curl -L https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip -o .ntmp/ninja-linux.zip; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir .ntmp && curl -L https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip -o .ntmp/ninja-linux.zip; fi