summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-27 00:17:13 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-27 00:17:13 -0500
commit1ea0f981a0ed63191429d6c7fe1c9a8b51105953 (patch)
tree531ec224c6754aa9cdfa2aeb7e676328c931c6f3 /.travis.yml
parent9e01fd4f5c16aa31bcec45fc9922ada3310f85f0 (diff)
downloadbog-1ea0f981a0ed63191429d6c7fe1c9a8b51105953.tar.gz
Set up Travis CI
Thanks to Renan Ranelli for setting up the tests to run from the command line (PR #4) and for providing the .travis.yml file.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..18db585
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+# Modified from
+# https://github.com/rranelli/maven-test-mode/blob/master/.travis.yml
+
+language: emacs-lisp
+
+env:
+ matrix:
+ - EMACS=emacs24
+ - EMACS=emacs-snapshot
+
+install:
+ - if [ "$EMACS" = "emacs24" ]; then
+ sudo add-apt-repository -y ppa:cassou/emacs &&
+ sudo apt-get update -qq &&
+ sudo apt-get install -qq emacs24 emacs24-el;
+ fi
+ - if [ "$EMACS" = "emacs-snapshot" ]; then
+ sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
+ sudo apt-get update -qq &&
+ sudo apt-get install -qq emacs-snapshot;
+ fi
+
+before_script:
+ make .downloads
+
+script:
+ make test EMACS=${EMACS}