branch: elpa/raku-mode
commit eaf48dd8136fa55bc202499a87f3f9011df1de2a
Author: Hinrik Örn Sigurðsson <[email protected]>
Commit: Hinrik Örn Sigurðsson <[email protected]>
Add Travis integration
---
.travis.yml | 16 ++++++++++++++++
README.md | 3 +++
2 files changed, 19 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..0da96562bb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,16 @@
+language: emacs-lisp
+env:
+ - EMACS=emacs-snapshot
+before_install:
+ # Nightly Emacs snapshot builds
+ - 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
+ # Install and bootstrap cask
+ - curl -fsSkL https://raw.github.com/cask/cask/master/go | python
+ - export PATH="${HOME}/.cask/bin:$PATH"
+install:
+ - cask install
+script:
+ - make compile test
diff --git a/README.md b/README.md
index 9a37b26eb1..378e10cf36 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@ Perl 6 Mode
[![License GPL 3][badge-license]][copying]
[](http://melpa.org/#/perl6-mode)
+[![travis][badge-travis]][travis]
Perl 6 mode lets you edit Perl 6 code with [GNU Emacs][] 24.
@@ -88,6 +89,8 @@ See [`COPYING`][copying] for the complete license.
[badge-license]: https://img.shields.io/badge/license-GPL_3-green.svg
[COPYING]: https://github.com/hinrik/perl6-mode/blob/master/COPYING
+[travis]: https://travis-ci.org/hinrik/perl6-mode
+[badge-travis]: https://travis-ci.org/hinrik/perl6-mode.svg?branch=master
[GNU Emacs]: https://www.gnu.org/software/emacs/
[flycheck-perl6]: https://github.com/hinrik/flycheck-perl6
[MELPA]: http://melpa.milkbox.net/