From: Lzu Tao Date: Fri, 28 Jun 2019 18:42:17 +0000 (+0700) Subject: meson: Beautify travis config X-Git-Tag: v1.4.1^2~17^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d156854fe97bcbb2301ee98d47705f20d636b37;p=thirdparty%2Fzstd.git meson: Beautify travis config --- diff --git a/.travis.yml b/.travis.yml index 3d9c9d99a..9fbe1506f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -190,18 +190,23 @@ matrix: compiler: clang install: - sudo apt-get install -qq liblz4-dev valgrind 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 -L 'https://bootstrap.pypa.io/get-pip.py' - && python3 ~/get-pip.py --user - && pip3 install --user meson - script: - - meson setup - --buildtype=debugoptimized - -Db_lundef=false - -Dauto_features=enabled - -Dbuild_{programs,tests,contrib}=true - -Ddefault_library=both + - | + 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 -L 'https://bootstrap.pypa.io/get-pip.py' && + python3 ~/get-pip.py --user && + pip3 install --user meson + script: + - | + meson setup \ + --buildtype=debugoptimized \ + -Db_lundef=false \ + -Dauto_features=enabled \ + -Dbuild_programs=true \ + -Dbuild_tests=true \ + -Dbuild_contrib=true \ + -Ddefault_library=both \ build/meson builddir - pushd builddir - ninja