From b02973f1bf5360552417dc15dbc0e5e3d45d339b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 1 Dec 2017 11:41:50 +0100 Subject: [PATCH] build/gitlab-ci and build/travis-ci: add a 'make dist' step in autoconf_build() target, to check we are release-ready --- .gitlab-ci.yml | 2 +- .travis.yml | 1 + build/gitlab-ci | 1 + build/travis-ci | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fbb7724e..606948e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ image: ubuntu:16.04 before_script: - - apt-get update -qq && apt-get install -y -qq autoconf automake build-essential cmake libtool libjpeg8-dev libjbig-dev liblzma-dev ninja-build zlib1g-dev + - apt-get update -qq && apt-get install -y -qq autoconf automake build-essential cmake libtool libjpeg8-dev libjbig-dev liblzma-dev ninja-build zlib1g-dev zip stages: - build diff --git a/.travis.yml b/.travis.yml index 96d262e7..ccb15be6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ addons: - libjbig-dev - liblzma-dev - zlib1g-dev + - zip os: - linux diff --git a/build/gitlab-ci b/build/gitlab-ci index 25b3b92f..1370caec 100644 --- a/build/gitlab-ci +++ b/build/gitlab-ci @@ -17,6 +17,7 @@ autoconf_build() make make install make check + make distcheck } # Test autoconf build diff --git a/build/travis-ci b/build/travis-ci index 18ef90a5..b1919c0a 100644 --- a/build/travis-ci +++ b/build/travis-ci @@ -17,6 +17,7 @@ autoconf_build() make make install make check + make distcheck } # Install needed tools