forked from magit/magit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.36 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
38
39
language: generic
env:
global:
- CURL="curl -fsSkL --retry 9 --retry-delay 9"
matrix:
# - EMACS=emacs24 ## This is 24.3 which is too old to run magit
- EMACS=emacs-snapshot
# matrix:
# allow_failures:
# - env: EMACS=emacs-snapshot
install:
- if [ "$EMACS" = 'emacs24' ]; then
sudo add-apt-repository -y ppa:cassou/emacs &&
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs24 &&
sudo apt-get -qq install emacs24-el;
fi
- if [ "$EMACS" = 'emacs-snapshot' ]; then
sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs-snapshot &&
sudo apt-get -qq install emacs-snapshot-el;
fi
- $CURL https://raw.githubusercontent.com/magnars/dash.el/master/dash.el -o dash.el
- $CURL https://raw.githubusercontent.com/magit/with-editor/master/with-editor.el -o 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.