meson: Rename options in travis config

This commit is contained in:
Lzu Tao 2019-06-29 20:54:39 +07:00
parent ff27a1572b
commit 84f98dd316

View File

@ -178,18 +178,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
- |
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
- |
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