From b261cb9acd036d89ab84938bb2d7e450f1700f10 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Tue, 29 Mar 2016 00:40:13 +0100 Subject: [PATCH] travis build matrix --- .travis.yml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1a10f8fb5..bcb3b6080 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,27 @@ -# use c and gcc language: c compiler: gcc -# before build script, run autoreconf -before_script: autoreconf --install +cache: ccache -# Default is "./configure && make && make test", but no tests yet -script: "./configure --enable-notmuch --enable-sidebar && make" +env: + # Default build + - OPTS="" + # All enabled components disabled + - OPTS="--disable-fcntl --disable-iconv --disable-nls --with-included-gettext --without-idn --without-wc-funcs --disable-pgp --disable-smime" + # All disabled components enabled + - OPTS="--enable-pop --enable-imap --enable-smtp --enable-debug --enable-flock --enable-nfs-fix --enable-mailtool --enable-locales-fix --enable-exact-address --with-homespool --with-domain --with-regex --enable-sidebar --enable-notmuch --enable-gpgme --with-mixmaster" + # Alternate curses + - OPTS="--with-slang" + +before_script: + - ccache -z + - autoreconf --install + +script: + - ./configure $OPTS + - make + - ./mutt -v + +after_script: + - ccache -s -- 2.50.1