From f6c0d20f955d7c5d7798f7044f7e5de462c90410 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Fri, 12 Jul 2019 14:30:00 +0800 Subject: ci: fix build error on travis for gtk-layer-shell --- .travis.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3d72be75..c8958706 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,6 +78,7 @@ requires: - mate-common - mate-desktop - mate-menus + - meson - which - yelp-tools @@ -113,6 +114,7 @@ requires: - lsb-release - make - mate-common + - meson - yelp-tools fedora: @@ -134,6 +136,7 @@ requires: - mate-common - mate-desktop-devel - mate-menus-devel + - meson - redhat-rpm-config - yelp-tools @@ -166,6 +169,7 @@ requires: - lsb-release - make - mate-common + - meson - yelp-tools variables: @@ -225,16 +229,9 @@ before_scripts: - git clone --depth 1 https://github.com/wmww/gtk-layer-shell.git gtk-layer-shell-build - fi - cd gtk-layer-shell-build - - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then - - ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu - - else - - ./autogen.sh --prefix=/usr - - fi - - if [ ${TRAVIS} == "false" ]; then - - make clean - - fi - - make - - make install + - meson _build --prefix /usr + - ninja -C _build + - ninja -C _build install after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then -- cgit v1.2.1