-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
79 lines (69 loc) · 2.11 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Copyright (C) 2019 Serghei Iakovlev
#
# This file is not part of GNU Emacs.
#
# License
#
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this file; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
language: emacs-lisp
# Cache stable Emacs binaries, packages and Cask
cache:
apt: true
timeout: 604800
directories:
- "$HOME/emacs"
# Cache BNF Mode dependencies
- ".cask/"
# Cache Cask bootstrap dependencies
- "$HOME/.emacs.d/.cask"
# Allow Emacs snapshot builds to fail and don't wait for it
matrix:
fast_finish: true
allow_failures:
- env: EMACS_VERSION=git-snapshot
git:
depth: 1
env:
matrix:
- EMACS_VERSION=24.3
- EMACS_VERSION=24.4
- EMACS_VERSION=24.5
- EMACS_VERSION=25.1
- EMACS_VERSION=25.2
- EMACS_VERSION=25.3
- EMACS_VERSION=26.1
- EMACS_VERSION=git-snapshot
global:
- PATH="$HOME/bin:$HOME/.cask/bin:$HOME/.evm/bin:$PATH"
before_install:
# Setup Emacs Version Manager
- git clone -q --depth=1 https://github.com/rejeep/evm.git $HOME/.evm
- evm config path /tmp
install:
# Install Emacs (according to $EMACS_VERSION) and Cask
- evm install emacs-$EMACS_VERSION-travis --use --skip
- curl -fsSkL https://raw.github.com/cask/cask/master/go | python
before_script:
# Configure $EMACS_MAJOR_VERSION
- EMACS_MAJOR_VERSION="$(echo $EMACS_VERSION | cut -d '.' -f 1)"
script:
- make help
- make init
# The 'checkdoc-file' present on Emacs >= 25.1
- '[[ "$EMACS_MAJOR_VERSION" = "24" ]] || make checkdoc'
# - make test
notifications:
email: false