diff options
| author | Stig Brautaset <stig@brautaset.org> | 2016-03-01 08:22:30 +0100 |
|---|---|---|
| committer | Stig Brautaset <stig@brautaset.org> | 2016-03-02 00:35:31 +0100 |
| commit | bd641a4b5beac52dbc1cb692510837c086dc9a60 (patch) | |
| tree | 69f10b151a0b98b8ec3501aa6d31963f8fefb895 | |
| parent | 8fcfa3fa5a9be616ecbc5cf752a406d1bff173df (diff) | |
Run tests on Travis CI
c.f. https://github.com/flycheck/emacs-travis
Omit their 24.3.x recipe as it caused errors that I did not know how to
fix. Two Emacs versions, current stable + next, suffices for now.
| -rw-r--r-- | .travis.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b701b57 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: emacs-lisp +sudo: false +env: + - EMACS_VERSION=24.5 + - EMACS_VERSION=snapshot +before_install: + # Configure $PATH: Executables are installed to $HOME/bin + - export PATH="$HOME/bin:$PATH" + # Download the makefile to emacs-travis.mk + - wget 'https://raw.githubusercontent.com/flycheck/emacs-travis/master/emacs-travis.mk' + # Install Emacs (according to $EMACS_VERSION) and Cask + - make -f emacs-travis.mk install_emacs + - make -f emacs-travis.mk install_cask + # Install Texinfo, if you need to build info manuals for your project + - make -f emacs-travis.mk install_texinfo +install: + # Install your dependencies + - cask install +script: + # Run your tests + - ./run-tests.sh |
