ci, don't use pyenv and install pip3 using apt (#21)
This commit is contained in:
parent
0a380b0d7f
commit
0c1eda7b91
11
.travis.yml
11
.travis.yml
|
@ -1,4 +1,4 @@
|
|||
dist: trusty
|
||||
dist: xenial
|
||||
sudo: false
|
||||
|
||||
language: d
|
||||
|
@ -7,18 +7,15 @@ os:
|
|||
- osx
|
||||
d:
|
||||
- dmd
|
||||
#- dmd-beta
|
||||
#- dmd-nightly
|
||||
- ldc
|
||||
#- ldc-beta
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pyenv global system 3.6; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python3-pip python3-setuptools; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip3 install 'meson==0.48.2'; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip3 install 'meson==0.47.2'; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip3 install 'meson==0.47.2'; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip3 install 'meson==0.48.2'; fi
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue