branch: elpa/d-mode
commit eb92e64f816ddcb678b7e5c3d89bf0ca90a5c29f
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
.travis.yml: Switch to emacs-travis.mk
---
.travis.yml | 43 +++++++++++++++++++++++--------------------
1 file changed, 23 insertions(+), 20 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 1bfae87..ec981e3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,27 +1,30 @@
-language: emacs-lisp
+# Based on https://github.com/flycheck/emacs-travis
+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.3
+ - EMACS_VERSION=24.5
+ - EMACS_VERSION=25.1
+ - EMACS_VERSION=snapshot
before_install:
- # PPA for stable Emacs packages
- - sudo add-apt-repository -y ppa:adrozdoff/emacs
- # PPA for Emacs nightlies
- - sudo add-apt-repository -y ppa:ubuntu-elisp/ppa
-
+ # 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:
- # 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=emacs25
- - EMACS=emacs-snapshot
-
+ - cask install
script:
+ # cask exec ert-runner
- emacs --version
- make compile
- make test