|
1 | 1 | language: emacs-lisp
|
2 | 2 |
|
3 | 3 | env:
|
| 4 | + global: |
| 5 | + - PATH=$HOME/.cask/bin:$HOME/.evm/bin:$PATH |
4 | 6 | matrix:
|
5 |
| - - EMACS=emacs23 |
6 |
| - - EMACS=emacs24 |
7 |
| - - EMACS=emacs-snapshot |
| 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 |
8 | 19 |
|
9 |
| -matrix: |
10 |
| - allow_failures: |
11 |
| - - env: |
12 |
| - - EMACS=emacs-snapshot |
13 |
| - |
14 |
| -install: |
15 |
| - - if [ "$EMACS" = "emacs23" ]; then |
16 |
| - sudo apt-get update -qq && |
17 |
| - sudo apt-get install -qq emacs23-gtk emacs23-el; |
18 |
| - fi |
19 |
| - - if [ "$EMACS" = "emacs24" ]; then |
20 |
| - sudo add-apt-repository -y ppa:cassou/emacs && |
21 |
| - sudo apt-get update -qq && |
22 |
| - sudo apt-get install -qq emacs24 emacs24-el; |
23 |
| - fi |
24 |
| - - if [ "$EMACS" = "emacs-snapshot" ]; then |
25 |
| - sudo add-apt-repository -y ppa:cassou/emacs && |
26 |
| - sudo apt-get update -qq && |
27 |
| - sudo apt-get install -qq emacs-snapshot && |
28 |
| - sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-gtk; |
29 |
| - fi |
| 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 |
| 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