-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.travis.yml: Switch to emacs-travis.mk
- Loading branch information
1 parent
c881155
commit eb92e64
Showing
1 changed file
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |