meson: Beautify travis config
This commit is contained in:
parent
c55d2e7ba3
commit
4d156854fe
27
.travis.yml
27
.travis.yml
@ -190,18 +190,23 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install -qq liblz4-dev valgrind tree
|
- 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 ~/ninja.zip -L 'https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip' &&
|
||||||
- travis_retry curl -o ~/get-pip.py -L 'https://bootstrap.pypa.io/get-pip.py'
|
unzip ~/ninja.zip -d ~/.local/bin
|
||||||
&& python3 ~/get-pip.py --user
|
- |
|
||||||
&& pip3 install --user meson
|
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:
|
script:
|
||||||
- meson setup
|
- |
|
||||||
--buildtype=debugoptimized
|
meson setup \
|
||||||
-Db_lundef=false
|
--buildtype=debugoptimized \
|
||||||
-Dauto_features=enabled
|
-Db_lundef=false \
|
||||||
-Dbuild_{programs,tests,contrib}=true
|
-Dauto_features=enabled \
|
||||||
-Ddefault_library=both
|
-Dbuild_programs=true \
|
||||||
|
-Dbuild_tests=true \
|
||||||
|
-Dbuild_contrib=true \
|
||||||
|
-Ddefault_library=both \
|
||||||
build/meson builddir
|
build/meson builddir
|
||||||
- pushd builddir
|
- pushd builddir
|
||||||
- ninja
|
- ninja
|
||||||
|
Loading…
Reference in New Issue
Block a user