Skip to content

Commit 96ffdc2

Browse files
committed
Propose evm (emacs version manager) for the multiple emacs installation.
Keep only the targets which work. Is this ok? Conflicts: .travis.yml
1 parent 78636c6 commit 96ffdc2

File tree

1 file changed

+21
-25
lines changed

1 file changed

+21
-25
lines changed

.travis.yml

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,31 @@
11
language: emacs-lisp
22

33
env:
4+
global:
5+
- PATH=$HOME/.cask/bin:$HOME/.evm/bin:$PATH
46
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
819

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
3026

3127
script:
32-
lsb_release -a && $EMACS --version && make EMACS=$EMACS check
28+
lsb_release -a && emacs --version && make check
3329

3430
notifications:
3531
email: false

0 commit comments

Comments
 (0)