forked from magit/magit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.4 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
sudo: false
language: generic
env:
global:
- CURL="curl -fsSkL --retry 9 --retry-delay 9"
- GHRAW="https://raw.githubusercontent.com"
matrix:
- EMACS_VERSION=25.1
# 25.2 is identical to 25.3 except for a critical security bug in
# enriched text mode (see Emacs Bug#28350).
- EMACS_VERSION=25.3
- EMACS_VERSION=26.1
- EMACS_VERSION=26 # 26.1.50, emacs-26 branch, built daily
- EMACS_VERSION=master # 27.0.50, 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 ${GHRAW}/magnars/dash.el/master/dash.el
- $CURL -O ${GHRAW}/magit/ghub/master/ghub.el
- $CURL -O ${GHRAW}/magit/magit-popup/master/magit-popup.el
- $CURL -O ${GHRAW}/magit/with-editor/master/with-editor.el
- $EMACS -Q --batch -L . -f batch-byte-compile dash.el ghub.el magit-popup.el with-editor.el
- $EMACS --version
script:
- git config --global user.name "A U Thor"
- git config --global user.email [email protected]
- 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.