forked from clojure-emacs/cider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.25 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
sudo: false
language: emacs-lisp
cache:
directories:
- $HOME/local
env:
global:
- PATH=$HOME/local/bin:$HOME/local/evm/bin:$HOME/local/cask/bin:$PATH
matrix:
- EMACS_BINARY=emacs-25.1-travis MAKE_TEST=test
- EMACS_BINARY=emacs-25.2-travis MAKE_TEST=test
- EMACS_BINARY=emacs-25.3-travis MAKE_TEST=test
- EMACS_BINARY=emacs-26.1-travis MAKE_TEST=test
- EMACS_BINARY=emacs-git-snapshot-travis MAKE_TEST=test
stages:
- check
- test
jobs:
include:
# linting for code quality
- stage: check
env: EMACS_BINARY=emacs-25.1-travis MAKE_TEST=lint
- stage: check
env: EMACS_BINARY=emacs-25.2-travis MAKE_TEST=lint
- stage: check
env: EMACS_BINARY=emacs-25.3-travis MAKE_TEST=lint
- stage: check
env: EMACS_BINARY=emacs-26.1-travis MAKE_TEST=lint
- stage: check
env: EMACS_BINARY=emacs-git-snapshot-travis MAKE_TEST=lint
# "matrix" of tests is implicit in the "test" stage
allow_failures:
- env: EMACS_BINARY=emacs-git-snapshot-travis MAKE_TEST=test
- env: EMACS_BINARY=emacs-git-snapshot-travis MAKE_TEST=lint
before_script:
- sh travis-ci/install-evm.sh
- evm install $EMACS_BINARY --use --skip
- sh travis-ci/install-cask.sh
script:
- emacs --version
- make $MAKE_TEST