mirror of https://github.com/djcb/mu.git
.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:
parent
647b9381bc
commit
d1f3c908b9
|
@ -4,7 +4,8 @@ mu
|
|||
mug2
|
||||
.desktop
|
||||
*html
|
||||
.*
|
||||
.deps
|
||||
.libs
|
||||
autom4te*
|
||||
Makefile
|
||||
Makefile.in
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue