-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (28 loc) · 767 Bytes
/
.travis.yml
File metadata and controls
33 lines (28 loc) · 767 Bytes
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
language: c
sudo: required
dist: zesty
env:
matrix:
- EMACS=emacs
- EMACS=emacs25
# branches:
# only:
# - master
install:
- if [ "$EMACS" = 'emacs24' ]; then
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs;
fi
- if [ "$EMACS" = 'emacs25' ]; then
sudo add-apt-repository -y ppa:kelleyk/emacs &&
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs25;
fi
script:
- $EMACS --version
- $EMACS --batch --eval '(progn (push "." load-path) (byte-compile-file "tickscript-mode.el"))'
- $EMACS -batch -L . -l ert -l tickscript-mode-tests.el -f ert-run-tests-batch-and-exit;
notifications:
email: true