Skip to content

Commit f6ebcbd

Browse files
committed
Update travis scripts to use EVM
Add all versions of Emacs 25 to 26
1 parent 48290d3 commit f6ebcbd

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

.travis.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
11
language: generic
22

33
env:
4-
matrix:
5-
- EMACS=emacs24
6-
- EMACS=emacs-snapshot
7-
4+
- EVM_EMACS=emacs-25.1-travis
5+
- EVM_EMACS=emacs-25.2-travis
6+
- EVM_EMACS=emacs-25.3-travis
7+
- EVM_EMACS=emacs-26.1-travis
8+
- EVM_EMACS=emacs-26.2-travis
9+
- EVM_EMACS=emacs-git-snapshot-travis
810
install:
9-
- if [ "$EMACS" = 'emacs24' ]; then
10-
sudo add-apt-repository -y ppa:cassou/emacs &&
11-
sudo apt-get -qq update &&
12-
sudo apt-get -qq -f install &&
13-
sudo apt-get -qq install emacs24 emacs24-el;
14-
fi
15-
- if [ "$EMACS" = 'emacs-snapshot' ]; then
16-
sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
17-
sudo apt-get -qq update &&
18-
sudo apt-get -qq -f install &&
19-
sudo apt-get -qq install emacs-snapshot &&
20-
sudo apt-get -qq install emacs-snapshot-el;
21-
fi
22-
11+
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh
12+
- evm install $EVM_EMACS --use --skip
2313
script:
2414
- ./run_rust_emacs_tests.sh
2515

0 commit comments

Comments
 (0)