travis: Enforce Python version

Workaround for https://github.com/travis-ci/travis-ci/issues/8363 - the
matrix feature does not make sense here, so having this workaround is
acceptable.
This commit is contained in:
Matthias Klumpp 2018-01-07 17:31:53 +01:00
parent a02acdd8c4
commit d804837280

View file

@ -13,6 +13,7 @@ d:
- ldc-beta
before_install:
- pyenv global system 3.6
- 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 pip3 install meson; fi