summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml24
-rw-r--r--README.md2
2 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..a6e95a8
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,24 @@
+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 .deps
+
+script:
+ make test EMACS=${EMACS}
diff --git a/README.md b/README.md
index 67b560d..a126404 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
+[![Build Status](https://travis-ci.org/kyleam/snakemake-mode.svg?branch=master)](https://travis-ci.org/kyleam/snakemake-mode)
+
This repo contains two Emacs libraries for [Snakemake].
* [snakemake-mode.el] provides a major mode for editing Snakemake