From c25a3030fc0dda7033efb1ebe575d684264901be Mon Sep 17 00:00:00 2001 From: Christophe Troestler Date: Tue, 13 Dec 2016 20:32:00 +0100 Subject: [PATCH] Travis: use recent autoconf 2.69 and recent autoconf-archive --- .travis.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 66260aea..063324ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,23 @@ language: c +sudo: required compiler: - gcc env: global: - - BUILD_PKGS="libtool autoconf automake texinfo" + - BUILD_PKGS="libtool autoconf autoconf-archive automake texinfo" - BUILD_LIBS="libgmime-2.6-dev libxapian-dev guile-2.0-dev libwebkitgtk-dev" - TEST_PKGS="pmccabe" matrix: - EVM_EMACS=emacs-24.1-bin - EVM_EMACS=emacs-24.2-bin - EVM_EMACS=emacs-24.3-bin + # - EVM_EMACS=emacs-24.5-travis + # - EVM_EMACS=emacs-25.1-travis before_install: - git submodule update --init --recursive - - sudo apt-get update -qq + # The Ubuntu version on travis is way too old, need Autoconf 2.69 + - sudo add-apt-repository ppa:dns/gnu -y + - sudo apt-get -qq update - sudo apt-get install -qq ${BUILD_PKGS} ${BUILD_LIBS} ${TEST_PKGS} install: - sudo mkdir /usr/local/evm @@ -21,6 +26,10 @@ install: - export PATH="$HOME/.evm/bin:$PATH" - evm install $EVM_EMACS --use script: + # Need recent version of autoconf-archive + - curl http://nl.mirror.babylon.network/gnu/autoconf-archive/autoconf-archive-2016.09.16.tar.xz -o /tmp/aa.tar.xz && tar xf /tmp/aa.tar.xz + - cp autoconf-archive-2016.09.16/m4/*.m4 m4/ - ./autogen.sh + - ./configure - make - make check