summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index e6a12933f..fc6056863 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,8 +7,10 @@ compiler:
env:
- COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
- - COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src
- - COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src
+ CHECK_AUTOCONF=yes
+ - COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
+ - COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
+ - COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
sudo: false
@@ -19,6 +21,7 @@ branches:
addons:
apt:
packages:
+ - autoconf
- lcov
- libperl-dev
- python-dev
@@ -31,6 +34,7 @@ before_install:
script:
- NPROC=$(getconf _NPROCESSORS_ONLN)
+ - if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi
- if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi && (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC)
- ${SRCDIR}/vim --version
- make $SHADOWOPT test