From 4d156854fe97bcbb2301ee98d47705f20d636b37 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Sat, 29 Jun 2019 01:42:17 +0700 Subject: [PATCH] meson: Beautify travis config --- .travis.yml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3d9c9d99..9fbe1506 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 + - | + 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 + - | + 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