Permalink
Browse files

.travis.yml: add basic Travis recipe

This sets up a simple build and make check test against 3 versions of
Emacs as installed by evm.
  • Loading branch information...
1 parent 647b938 commit d1f3c908b95d0bb8594f99d64fd795d089d0a3a7 @stsquad stsquad committed Feb 14, 2014
Showing with 29 additions and 1 deletion.
  1. +2 −1 .gitignore
  2. +27 −0 .travis.yml
View
@@ -4,7 +4,8 @@ mu
mug2
.desktop
*html
-.*
+.deps
+.libs
autom4te*
Makefile
Makefile.in
View
@@ -0,0 +1,27 @@
+language: c
+compiler:
+ - gcc
+env:
+ global:
+ - BUILD_PKGS="libtool autoconf 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
+before_install:
+ - git submodule update --init --recursive
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq ${BUILD_PKGS} ${BUILD_LIBS} ${TEST_PKGS}
+install:
+ - sudo mkdir /usr/local/evm
+ - sudo chown $(id -u):$(id -g) /usr/local/evm
+ - curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
+ - export PATH="$HOME/.evm/bin:$PATH"
+ - evm install $EVM_EMACS --use
+script:
+ - autoreconf -i
+ - ./configure
+ - make
+ - make check

0 comments on commit d1f3c90

Please sign in to comment.