aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-04-17 19:50:24 -0400
committerKyle Meyer <kyle@kyleam.com>2016-04-17 20:56:02 -0400
commit9e17cb9a4b21caadab9867b5e27f3985b2dbbaa0 (patch)
tree0a162c82cc8db9c7f90b3ac6bc9d4575e6b8931c
parentb3ca3d3da717fd42b920ddd197897f19855e5444 (diff)
downloadsnakemake-mode-9e17cb9a4b21caadab9867b5e27f3985b2dbbaa0.tar.gz
Set up Travis
-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