Skip to content

Commit 0f4bd9f

Browse files
committed
Propose evm (emacs version manager) for the multiple emacs installation.
Keep only the targets which work. Is this ok?
1 parent be1f857 commit 0f4bd9f

File tree

1 file changed

+20
-24
lines changed

1 file changed

+20
-24
lines changed

.travis.yml

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

33
env:
4-
matrix:
5-
- EMACS=emacs24
6-
- EMACS=emacs-snapshot
74
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
1419

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
2925
- 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)