From: Lzu Tao Date: Fri, 28 Dec 2018 03:07:05 +0000 (+0700) Subject: travis: Use ninja from github X-Git-Tag: v1.4.0^2~60^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=889a4927849947ed9544bfb09a9aff616a1979c9;p=thirdparty%2Fzstd.git travis: Use ninja from github --- diff --git a/.travis.yml b/.travis.yml index 3ad59d2b4..351979905 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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