-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
35 lines (34 loc) · 1.08 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
language: emacs-lisp
# Emacs fails to build in container-based builds on Travis
# See https://github.com/travis-ci/travis-ci/issues/9061
# and https://github.com/moby/moby/issues/22801
sudo: required
dist: trusty
cache:
- directories:
# Cache stable Emacs binaries (saves 1min per job)
- "$HOME/emacs/"
# Allow Emacs snapshot builds to fail and don’t wait for these as they can take
# a looooong time
matrix:
fast_finish: true
allow_failures:
- env: EMACS_VERSION=snapshot
env:
- EMACS_VERSION=26.0.91 PRETEST=yes
- EMACS_VERSION=snapshot
before_install:
# Configure $PATH: Executables are installed to $HOME/bin
- export PATH="$HOME/bin:$PATH"
# Download the makefile to emacs-travis.mk
- wget 'https://raw.githubusercontent.com/flycheck/emacs-travis/master/emacs-travis.mk'
# Install Emacs (according to $EMACS_VERSION)
- make -f emacs-travis.mk install_emacs
script:
# Run your tests
- emacs -Q -batch -l ert -L . -l autobuild-test.el --eval '(autobuild-mode t)' -f ert-run-tests-batch-and-exit
# Local Variables:
# indent-tabs-mode: nil
# coding: utf-8
# End:
#