]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
travis: Use ninja from github
authorLzu Tao <taolzu@gmail.com>
Fri, 28 Dec 2018 03:07:05 +0000 (10:07 +0700)
committerLzu Tao <taolzu@gmail.com>
Fri, 28 Dec 2018 03:25:13 +0000 (10:25 +0700)
.travis.yml

index 3ad59d2b4fcdf3d7e0a784f41f4c8c33f27ec6df..351979905969001b11076d406a5c34c38a59666b 100644 (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