]> granicus.if.org Git - neomutt/commitdiff
travis: new build script
authorRichard Russon <rich@flatcap.org>
Mon, 20 Jun 2016 03:52:36 +0000 (04:52 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 20 Jun 2016 03:52:36 +0000 (04:52 +0100)
.travis.yml

index bf20209c5c296b4932029b7d09f66ecf8c8c7b29..1bf1b30ced8167fa88754af9f573fe7cfc8067f9 100644 (file)
@@ -12,21 +12,31 @@ language: c
 compiler: gcc
 cache: ccache
 
-env:
-    # Default config
-  - OPTS=""
-    # Enable components that default to 'off'
-  - OPTS="--enable-compressed"
+addons:
+  apt:
+    packages:
+      - libgpgme11-dev
+      - libnotmuch-dev
+      - libtokyocabinet-dev
+      - libgdbm-dev
+      - libdb-dev
+      # - libqdbm-dev
+      # - libslang2-dev
+      # libcaca includes slang for us
+      - libcaca-dev
+
+git:
+  depth: 3
+
+install:
+  - git clone --depth 1 https://github.com/neomutt/travis-build.git ~/config
 
 before_script:
-  - ccache -z
-  - autoreconf -i
+  - ccache --zero-stats
 
 script:
-  - ./configure $OPTS
-  - make
-  - ./mutt -v
+  - ~/config/build
 
 after_script:
-  - ccache -s
+  - ccache --show-stats