From 9d14d4408c09a9fcf9c9d25cc7d2ed35e2731f87 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 22 Jun 2019 15:05:13 +0200 Subject: CI: switch to build_scripts and fix make distcheck to remove .gmo files --- .travis.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b95452f..1f9a48f 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 meson --build autotools + - ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build meson --build scripts deploy: - provider: script @@ -75,13 +75,20 @@ requires: variables: - CFLAGS="-Wall -Werror=format-security" +build_scripts: + - ./autogen.sh + - sed -i 's/$(POFILES) $(GMOFILES) \\/$(POFILES) \\/' po/Makefile.in.in + - ./configure + - make + after_scripts: - - if [ ${BUILD_TYPE} == "autotools" ];then + - if [ ${BUILD_TYPE} == "scripts" ];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 + - tar tf mate-backgrounds-*.tar.xz|grep po #just for view - fi releases: -- cgit v1.2.1