From bb67f229d887603db3360b1758d93220f4a0dd04 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 22 Jun 2019 13:29:17 +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(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 07a454e..c1e3041 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 @@ -110,13 +110,20 @@ before_scripts: - make - make install +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 mozo-*.tar.xz|grep po #just for view - fi releases: -- cgit v1.2.1