-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
101 lines (88 loc) · 2.33 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
### Adapted from: [email protected]:rolandwalker/emacs-travis.git
###
### Notes
###
### The travis web interface may choke silently and fail to
### update when there are issues with the .travis.yml file.
###
### The "travis-lint" command-line tool does not catch all
### errors which may lead to silent failure.
###
### Shell-style comments in this file must have "#" as the
### *first* character of the line.
###
###
### language
###
# travis-lint no longer permits this value
# language: emacs-lisp
language: generic
# sudo: false
###
### defining the build matrix
###
### ===> <===
### ===> each variation in env/matrix will be built and tested <===
### ===> <===
###
### variables under env/global are available to the build process
### but don't cause the creation of a separate variation
###
# matrix:
# include:
# - env: EMACS=emacs23
# - env: EMACS=emacs24
# addons:
# apt:
# packages:
# - emacs24-nox
env:
- EMACS=emacs23
- EMACS=emacs24
- EMACS=emacs-snapshot
matrix:
allow_failures:
- env: EMACS=emacs-snapshot
before_install:
- git submodule --quiet update --init --recursive
install:
- if [ "$EMACS" = 'emacs23' ]; then
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs23-el;
fi
- 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 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
- 'emacs --version'
- '"$EMACS" --version'
before_script:
- if [ "$EMACS" = 'emacs-snapshot' ]; then
make downloads-latest;
else
make downloads;
fi
script:
$EMACS --version && ( test "$EMACS" != 'emacs22' && make test EMACS="$EMACS" || make test-batch EMACS="$EMACS" )
###
### settings
###
notifications:
email: false
#
# Emacs
#
# Local Variables:
# indent-tabs-mode: nil
# coding: utf-8
# End: