Skip to content

Commit

Permalink
.travis.yml: Switch to emacs-travis.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Oct 10, 2016
1 parent c881155 commit eb92e64
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit eb92e64

Please sign in to comment.