-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
41 lines (41 loc) · 1.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
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: xenial
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=24.3
env:
- EMACS_VERSION=24.3
- EMACS_VERSION=25.1
- EMACS_VERSION=25.2
- EMACS_VERSION=25.3
- EMACS_VERSION=26.1
# - EMACS_VERSION=snapshot
before_install:
- sudo apt-get install -y default-jre gnutls-bin
# 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) and Cask
- make -f emacs-travis.mk install_emacs
- make -f emacs-travis.mk install_cask
# Install Texinfo, if you need to build info manuals for your project
# - make -f emacs-travis.mk install_texinfo
install:
# Install your dependencies
- cask install
script:
# Run your tests
- cask exec ecukes --reporter magnars --no-win