forked from senny/emacs-eclim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (21 loc) · 1.13 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
language: java
cache: apt
env:
- CI=true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/bde5c3d7214f513e47cb
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
install:
- sudo add-apt-repository -y ppa:cassou/emacs && sudo apt-get update -qq && sudo apt-get -f install -qq && sudo apt-get install -qq emacs24 emacs24-el
- 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 tests && git clone https://github.com/nschum/elisp-lint.git
- cd -
script:
- emacs -Q --batch -l tests/emacs-eclim-linter-init.el -f elisp-lint-files-batch *.el
- emacs -Q --batch -l ert -l tests/emacs-eclim-linter-init.el -f ert-run-tests-batch-and-exit