Change install method of emacs in travis for faster build times

master
Elis Axelsson 9 years ago
parent d2ed48a809
commit 899e08e9d9
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
  1. 26
      .travis.yml

@ -1,27 +1,23 @@
language: emacs-lisp language: emacs-lisp
sudo: false sudo: false
# Allow Emacs snapshot builds to fail and don’t wait for these as they can take a looooong time # Allow Emacs snapshot builds to fail
matrix: matrix:
fast_finish: true
allow_failures: allow_failures:
- env: EMACS_VERSION=snapshot - env: EVM_EMACS=emacs-git-snapshot-travis
env: env:
- EMACS_VERSION=24.4 - EVM_EMACS=emacs-24.4-travis
- EMACS_VERSION=24.5 - EVM_EMACS=emacs-24.5-travis
- EMACS_VERSION=25.1 - EVM_EMACS=emacs-25.1-travis
- EMACS_VERSION=25.2 - EVM_EMACS=emacs-25.2-travis
- EMACS_VERSION=snapshot - EVM_EMACS=emacs-git-snapshot-travis
before_install: before_install:
# Configure $PATH: Executables are installed to $HOME/bin # Get install script
- export PATH="$HOME/bin:$PATH" - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh
# Download the makefile to emacs-travis.mk # Run evm
- wget 'https://raw.githubusercontent.com/flycheck/emacs-travis/master/emacs-travis.mk' - evm install "$EVM_EMACS" --use --skip
# Install Emacs (according to $EMACS_VERSION) and Cask
- make -f emacs-travis.mk install_emacs
- make -f emacs-travis.mk install_cask
install: install:
# Install your dependencies # Install your dependencies

Loading…
Cancel
Save