]> git.donarmstrong.com Git - org-ref.git/blobdiff - .travis.yml
add travis testing
[org-ref.git] / .travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..6ecea73
--- /dev/null
@@ -0,0 +1,20 @@
+language: emacs-lisp
+before_install:
+  # PPA for stable Emacs packages
+  - sudo add-apt-repository -y ppa:cassou/emacs
+  # PPA for Emacs nightlies
+  - sudo add-apt-repository -y ppa:ubuntu-elisp/ppa
+  # Update and install the Emacs for our environment
+  - sudo apt-get update -qq
+  - sudo apt-get install -qq -yy ${EMACS}-nox ${EMACS}-el
+  # Install cask dependencies
+  - curl -fsSLo /tmp/cask-master.zip https://github.com/cask/cask/archive/master.zip
+  - sudo unzip -qq -d /opt /tmp/cask-master.zip
+  - sudo ln -sf /opt/cask-master/bin/cask /usr/local/bin/cask
+  - cask
+env:
+  - EMACS=emacs24
+  - EMACS=emacs-snapshot
+script:
+  - emacs --version
+  - make test
\ No newline at end of file