-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
52 lines (48 loc) · 1.91 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
language: generic
sudo: false
dist: trusty
env:
global:
- CI=true
matrix:
- EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.2-travis
- EVM_EMACS=emacs-26.1-travis
- EVM_EMACS=emacs-git-snapshot-travis
matrix:
allow_failures:
- env: EVM_EMACS=emacs-git-snapshot-travis
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/5c9319db5f5a0b70ed2a
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # default: false
before_install:
- export PATH="/home/travis/.evm/bin:/home/travis/.cask/bin:$PATH"
- git clone https://github.com/rejeep/evm.git /home/travis/.evm
- evm config path /tmp
- evm install emacs-24.3-travis --use --skip
- git clone https://github.com/cask/cask.git /home/travis/.cask
- evm install "$EVM_EMACS" --use --skip
install:
- EMACS="/home/travis/.evm/bin/emacs" cask install
# - cd /tmp
# - mkdir /home/travis/opt && wget http://download.eclipse.org/technology/epp/downloads/release/luna/R/eclipse-java-luna-R-linux-gtk-x86_64.tar.gz -O eclipse.tar.gz && tar -xf eclipse.tar.gz -C /home/travis/opt
# - wget http://sourceforge.net/projects/eclim/files/latest/download -O eclim.jar && java -Dvim.skip=true -Declipse.home=/home/travis/opt/eclipse -jar eclim.jar install
# - cd - && cd test && git clone https://github.com/nschum/elisp-lint.git
# - cd -
script:
- make EMACS="/home/travis/.evm/bin/emacs" compile
- make EMACS="/home/travis/.evm/bin/emacs" lint
- make EMACS="/home/travis/.evm/bin/emacs" clean # Required for working test coverage report.
- make EMACS="/home/travis/.evm/bin/emacs" specs
# Workaround for 24.5, see https://github.com/cask/cask/issues/241
- find .cask -name "*.elc" | xargs rm
- make EMACS="/home/travis/.evm/bin/emacs" test
branches:
only:
- master
- development