summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-05-03 17:30:19 +0800
committerraveit65 <[email protected]>2019-05-14 13:17:44 +0200
commitfdf5dd64ae4ce0751cb16fb6317e10b175094a6f (patch)
tree54332a55937bd6d30c75e4f2298e274dc1b744e5
parenta9d1ad8be4dc792ad976aac14a3d12044d5d6c84 (diff)
downloadmate-backgrounds-fdf5dd64ae4ce0751cb16fb6317e10b175094a6f.tar.bz2
mate-backgrounds-fdf5dd64ae4ce0751cb16fb6317e10b175094a6f.tar.xz
[ci] enable meson build on travis
-rw-r--r--.travis.yml22
1 files changed, 14 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 435359e..0bb6987 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,7 @@ install:
- ./docker-build --name ${DISTRO} --config .travis.yml --install
script:
- - ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools
+ - ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build meson --build autotools
deploy:
- provider: script
@@ -42,6 +42,7 @@ requires:
- git
- make
- mate-common
+ - meson
- which
debian:
@@ -52,6 +53,7 @@ requires:
- libglib2.0-dev
- make
- mate-common
+ - meson
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-backgrounds.git
@@ -59,6 +61,7 @@ requires:
- git
- make
- mate-common
+ - meson
- redhat-rpm-config
ubuntu:
@@ -67,18 +70,21 @@ requires:
- libglib2.0-dev
- make
- mate-common
+ - meson
variables:
- CFLAGS="-Wall -Werror=format-security"
-before_scripts:
- - if [ ${DISTRO_NAME} == "debian" ];then
- - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
- - bash ./debian.sh
- - fi
-
after_scripts:
- - make distcheck
+ - if [ ${BUILD_TYPE} == "autotools" ];then
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
+ - bash ./debian.sh
+ - fi
+ - make distcheck
+ - else
+ - ninja -C $BUILD_DIR dist
+ - fi
releases:
draft: false