Permalink
Browse files

Setup travis-ci

  • Loading branch information...
1 parent 2bf06bc commit 9c68e6a10421163094c1cc1a4f3cd1d82c3514de @magnars magnars committed Oct 2, 2012
Showing with 32 additions and 0 deletions.
  1. +12 −0 .travis.yml
  2. +20 −0 run-travis-ci.sh
View
@@ -0,0 +1,12 @@
+language: emacs-lisp
+before_install:
+ - if [ "$EMACS" = 'emacs-snapshot' ]; then
+ sudo add-apt-repository -y ppa:cassou/emacs &&
+ sudo apt-get update -qq &&
+ sudo apt-get install -qq
+ emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot;
+ fi
+env:
+ - EMACS=emacs
+script:
+ ./run-travis-ci.sh
View
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+cd "$(dirname "$0")"
+
+set_default () {
+ eval "
+if [ -z \$$1 ]; then
+ $1=$2
+fi
+"
+}
+
+set_default EMACS "$(which emacs)"
+
+echo "*** Emacs version ***"
+echo "EMACS =" $(which $EMACS)
+$EMACS --version
+echo
+
+exec ./run-tests.sh

0 comments on commit 9c68e6a

Please sign in to comment.