summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2019-06-30 18:33:38 (GMT)
committerGitHub <noreply@github.com>2019-06-30 18:33:38 (GMT)
commit40bd6164bb7b077aa37d8617e8dcf3664fb7c57a (patch)
treec81a316c0400f60afa585e2568bca194bdf29de2 /.travis.yml
parentbccbdb47be2083e2911c7a0ff9555b2c476b2026 (diff)
parent84f98dd316e23fef5850645a0d7fc69ccff4c773 (diff)
downloadlz4-40bd6164bb7b077aa37d8617e8dcf3664fb7c57a.zip
lz4-40bd6164bb7b077aa37d8617e8dcf3664fb7c57a.tar.gz
lz4-40bd6164bb7b077aa37d8617e8dcf3664fb7c57a.tar.bz2
Merge pull request #741 from lzutao/meson-deprecated-warn
meson: Fix deprecated warnings on build options
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml30
1 files changed, 18 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index b88d907..8d23214 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -184,18 +184,24 @@ matrix:
compiler: clang
install:
- sudo apt-get install -qq python3 tree
- - travis_retry curl -o ~/ninja.zip -L 'https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip'
- && unzip ~/ninja.zip -d ~/.local/bin
- - travis_retry curl -o ~/get-pip.py 'https://bootstrap.pypa.io/get-pip.py'
- && python3 ~/get-pip.py --user
- && pip3 install --user meson
- script:
- - meson setup
- --buildtype=debug
- -Db_lundef=false
- -Dauto_features=enabled
- -Ddefault_library=both
- -Dbuild_{programs,contrib,tests,examples}=true
+ - |
+ travis_retry curl -o ~/ninja.zip -L 'https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip' &&
+ unzip ~/ninja.zip -d ~/.local/bin
+ - |
+ travis_retry curl -o ~/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' &&
+ python3 ~/get-pip.py --user &&
+ pip3 install --user meson
+ script:
+ - |
+ meson setup \
+ --buildtype=debug \
+ -Db_lundef=false \
+ -Dauto_features=enabled \
+ -Ddefault_library=both \
+ -Dbin_programs=true \
+ -Dbin_contrib=true \
+ -Dbin_tests=true \
+ -Dbin_examples=true \
contrib/meson build
- pushd build
- DESTDIR=./staging ninja install