branch: externals/ruby-end
commit 8b2aaf646778b4f8c7779f5a5c8ae419cadc1ac2
Author: Johan Andersson <[email protected]>
Commit: Johan Andersson <[email protected]>
Add Travis.
---
.travis.yml | 23 +++++++++++++++++++++++
README.markdown | 3 ++-
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..f661e7514f
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+language: emacs-lisp
+before_install:
+ - if [ "$EMACS" = 'emacs-snapshot' ]; then
+ sudo add-apt-repository -y ppa:cassou/emacs &&
+ sudo apt-get update -qq &&
+ sudo apt-get install -qq
+ emacs-snapshot-el emacs-snapshot-nox;
+ fi
+ - 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 emacs24-common-non-dfsg;
+ fi
+ - curl -fsSkL https://raw.github.com/rejeep/cask.el/master/go | sh
+ - export PATH="/home/travis/.cask/bin:$PATH"
+ - cask
+env:
+ - EMACS=emacs23
+ - EMACS=emacs24
+ # - EMACS=emacs-snapshot
+script:
+ - make test
diff --git a/README.markdown b/README.markdown
index 2cb8230e8d..7b761ea277 100644
--- a/README.markdown
+++ b/README.markdown
@@ -1,4 +1,5 @@
-# Ruby end
+# Ruby end [](http://travis-ci.org/rejeep/ruby-end)
+
Ruby end is a minor mode for Emacs that can be used with `ruby-mode`
to automatically close blocks by inserting `end` when typing a "block
keyword", followed by a space.