sudo: false
language: generic
env:
global:
- CURL="curl -fsSkL --retry 9 --retry-delay 9"
matrix:
- EMACS_VERSION=24.4
- EMACS_VERSION=24.5
- EMACS_VERSION=25.1
- EMACS_VERSION=25.2
- EMACS_VERSION=25 # emacs-25 branch, built daily
- EMACS_VERSION=master # master branch, built daily
allow_failures:
- env: EMACS_VERSION=master
install:
- $CURL -O https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
- tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C /
- export EMACS=/tmp/emacs/bin/emacs
- $CURL -O https://raw.githubusercontent.com/magnars/dash.el/master/dash.el
- $EMACS -Q --batch -f batch-byte-compile dash.el
- $CURL -O https://raw.githubusercontent.com/magit/with-editor/master/with-editor.el
- $EMACS --version
script:
- git config --global user.name "A U Thor"
- git config --global user.email a.u.thor@example.com
- git tag 0
- make lisp EMACSBIN=$EMACS DASH_DIR=$PWD
- make test EMACSBIN=$EMACS DASH_DIR=$PWD
notifications:
email:
# Default is change, but that includes a new branch's 1st success.
on_success: never
on_failure: always # The default.