aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
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 /.travis.yml
parentb3ca3d3da717fd42b920ddd197897f19855e5444 (diff)
downloadsnakemake-mode-9e17cb9a4b21caadab9867b5e27f3985b2dbbaa0.tar.gz
Set up Travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 24 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}