-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
13 lines (13 loc) · 736 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
language: emacs-lisp
before_install:
# PPA for stable Emacs packages
- sudo add-apt-repository -y ppa:kelleyk/emacs
# Update and install the Emacs for our environment
- sudo apt-get update -qq
- sudo apt-get install -qq -yy emacs25-nox
- emacs --version
- emacs-25.3 --version
script:
- emacs -batch -f batch-byte-compile toc-org.el 2>&1
- emacs -batch -l ert -l toc-org.el -l toc-org-test.el -f ert-run-tests-batch-and-exit && emacs -batch -f batch-byte-compile toc-org.el 2>&1 | sed -n '/Warning\|Error/p' | xargs -r ls
- emacs-25.3 -batch -l ert -l toc-org.el -l toc-org-test.el -f ert-run-tests-batch-and-exit && emacs -batch -f batch-byte-compile toc-org.el 2>&1 | sed -n '/Warning\|Error/p' | xargs -r ls