Merge pull request #371 from stsquad/add-travis-testing

* .travis.yml: add basic Travis recipe
This commit is contained in:
Dirk-Jan C. Binnema 2014-02-16 14:54:46 +02:00
commit 32a1797aa2
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