travis: Use ninja from github

dev
Lzu Tao 2018-12-28 10:07:05 +07:00
parent 470344d33e
commit 889a492784
1 changed files with 8 additions and 5 deletions

View File

@ -179,14 +179,17 @@ matrix:
# meson dedicated test
- name: Xenial (Meson + clang)
env: ALLOW_FAILURES=true
dist: xenial
language: cpp
compiler: clang
before_install:
install:
- sudo apt-get install -qq liblz4-dev valgrind tree
- curl -o ~/get-pip.py 'https://bootstrap.pypa.io/get-pip.py'
- python3 ~/get-pip.py --user
- pip3 install --user meson ninja
- travis_retry curl -o ~/ninja.zip -L 'https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip'
&& unzip ~/ninja.zip -d ~/.local/bin
- travis_retry curl -o ~/get-pip.py -L 'https://bootstrap.pypa.io/get-pip.py'
&& python3 ~/get-pip.py --user
&& pip3 install --user meson
script:
- meson --buildtype=debug
-Db_lundef=false
@ -198,4 +201,4 @@ matrix:
- DESTDIR=./staging ninja install
- tree ./staging
allow_failures:
- name: Xenial (Meson + clang)
- env: ALLOW_FAILURES=true