.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.
This commit is contained in:
Alex Bennée 2014-02-14 09:45:35 +00:00
parent 647b9381bc
commit d1f3c908b9
2 changed files with 29 additions and 1 deletions

3
.gitignore vendored
View File

@ -4,7 +4,8 @@ mu
mug2
.desktop
*html
.*
.deps
.libs
autom4te*
Makefile
Makefile.in

27
.travis.yml Normal file
View File

@ -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