branch: elpa/parseclj
commit 92396d11cfcb48a86cc60019e8b274244d7db5ac
Merge: 70804992ee b2588ce0fb
Author: Lambda Island <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #17 from lambdaisland/travis-evm
Use EVM to setup Travis CI
---
.travis.yml | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 7f4e57f3fd..2c544d182d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,24 +1,22 @@
-language: generic
-dist: trusty
-group: deprecated-2017Q4
+language: emacs
+cache: apt
env:
- - EMACS=emacs25
- - EMACS=emacs-snapshot
+ - EVM_EMACS=emacs-25.1-travis
+ - EVM_EMACS=emacs-25.2-travis
+ - EVM_EMACS=emacs-25.3-travis
+ - EVM_EMACS=emacs-26-pretest-travis
+ - EVM_EMACS=emacs-git-snapshot-travis
matrix:
+ fast_finish: true
allow_failures:
- - env: EMACS=emacs-snapshot
+ - env: EVM_EMACS=emacs-26-pretest-travis
+ - env: EVM_EMACS=emacs-git-snapshot-travis
before_install:
- # Emacs 25
- - sudo add-apt-repository -y ppa:kelleyk/emacs
- # 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}
- # Install and bootstrap cask
- - travis_retry sh -c 'curl -fsSkL https://raw.github.com/cask/cask/master/go
| python'
- - export PATH="${HOME}/.cask/bin:$PATH"
+ - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw >
travis.sh && source ./travis.sh
+ - evm install $EVM_EMACS --use --skip
install:
- cask install
script:
+ - export ECUKES_EMACS=${EMACS:-$(which emacs)}
+ - $ECUKES_EMACS --version
- cask exec ert-runner