]> granicus.if.org Git - neomutt/commitdiff
travis build matrix
authorRichard Russon <rich@flatcap.org>
Mon, 28 Mar 2016 23:40:13 +0000 (00:40 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 4 Apr 2016 15:39:18 +0000 (16:39 +0100)
.travis.yml

index 1a10f8fb50e4862cbc68a8da5384a2cfd1cd3065..bcb3b60807ff59e5716e49dad26f23121cf52597 100644 (file)
@@ -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