-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (42 loc) · 1.31 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
# Config file copied from https://github.com/flycheck/emacs-travis
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
env:
- EMACS_VERSION=25.1-rc2
- EMACS_VERSION=25.1
- EMACS_VERSION=25.2
- EMACS_VERSION=25.3
- 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) and Cask
- make -f emacs-travis.mk install_emacs
- make -f emacs-travis.mk install_cask
install:
# Install your dependencies
- cask install
script:
# Run your tests
- cask exec ecukes
after_success:
# Upload coverage
- bash <(curl -s https://codecov.io/bash)