|
1 | 1 | language: emacs-lisp
|
2 | 2 |
|
3 | 3 | env:
|
4 |
| - matrix: |
5 |
| - - EMACS=emacs24 |
6 |
| - - EMACS=emacs-snapshot |
7 | 4 | global:
|
8 |
| - - PATH=$HOME/.cask/bin:$PATH |
9 |
| - |
10 |
| -matrix: |
11 |
| - allow_failures: |
12 |
| - - env: |
13 |
| - - EMACS=emacs-snapshot |
| 5 | + - PATH=$HOME/.cask/bin:$HOME/.evm/bin:$PATH |
| 6 | + matrix: |
| 7 | + # # Cask does not support emacs < 24 |
| 8 | + # - EVM_EMACS=emacs-23.4-bin |
| 9 | + # # dependencies break in ghc-core.el about cl-lib |
| 10 | + # - EVM_EMACS=emacs-24.1-bin |
| 11 | + # # dependencies break in ghc-core.el about cl-lib |
| 12 | + # - EVM_EMACS=emacs-24.2-bin |
| 13 | + - EVM_EMACS=emacs-24.3-bin |
| 14 | + - EVM_EMACS=emacs-24.4-bin |
| 15 | + # allow_failures: |
| 16 | + # - EVM_EMACS=emacs-23.4-bin |
| 17 | + # - EVM_EMACS=emacs-24.1-bin |
| 18 | + # - EVM_EMACS=emacs-24.2-bin |
14 | 19 |
|
15 |
| -install: |
16 |
| - - if [ "$EMACS" = "emacs24" ]; then |
17 |
| - sudo add-apt-repository -y ppa:cassou/emacs && |
18 |
| - sudo apt-get update -qq && |
19 |
| - sudo apt-get install -qq emacs24 emacs24-el; |
20 |
| - fi |
21 |
| - - if [ "$EMACS" = "emacs-snapshot" ]; then |
22 |
| - sudo add-apt-repository -y ppa:cassou/emacs && |
23 |
| - sudo apt-get update -qq && |
24 |
| - sudo apt-get install -qq emacs-snapshot && |
25 |
| - sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-gtk; |
26 |
| - fi |
27 |
| - - make deps |
28 |
| - - cask --version |
| 20 | +before_install: |
| 21 | + - curl -fsSkL https://gist.github.com/rejeep/7736123/raw > travis.sh && source ./travis.sh |
| 22 | + # install the matrix's emacs version |
| 23 | + - evm install $EVM_EMACS --use --skip |
| 24 | + # install deps for cask |
29 | 25 | - cask
|
30 | 26 |
|
31 | 27 | script:
|
32 |
| - lsb_release -a && $EMACS --version && make EMACS=$EMACS check |
| 28 | + lsb_release -a && emacs --version && make check |
33 | 29 |
|
34 | 30 | notifications:
|
35 | 31 | email: false
|
|
0 commit comments