diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..dc612db --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +language: emacs-lisp +sudo: false + +# Allow Emacs snapshot builds to fail and don’t wait for these as they can take a looooong time +matrix: + fast_finish: true + allow_failures: + - env: EMACS_VERSION=snapshot + +env: + - EMACS_VERSION=24.5 + - EMACS_VERSION=25.1 + - 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: + # Install your dependencies + - cask install + +script: + # Run tests + - make test