Skip to content

Commit fe0ad53

Browse files
committed
update travis configuration
1 parent 5a89797 commit fe0ad53

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.travis.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
11
language: emacs-lisp
22
env:
33
matrix:
4-
- EMACS=emacs
5-
- EMACS=emacs24 EMACS_PPA=ppa:cassou/emacs
6-
- EMACS=emacs-snapshot EMACS_PPA=ppa:cassou/emacs
7-
- EMACS=emacs-snapshot EMACS_PPA=ppa:ubuntu-elisp/ppa
4+
- EMACS=emacs24
5+
- EMACS=emacs-snapshot
86
global:
97
- CASK=$HOME/.cask/bin/cask
10-
matrix:
11-
allow_failures:
12-
- env: EMACS=emacs-snapshot EMACS_PPA=ppa:cassou/emacs
13-
- env: EMACS=emacs-snapshot EMACS_PPA=ppa:ubuntu-elisp/ppa
148
before_install:
159
# Install virtualenv
1610
- sudo apt-get install -qq python-virtualenv
17-
18-
# Install Emacs
19-
- if [ -n "$EMACS_PPA" ]; then
20-
sudo add-apt-repository -y "$EMACS_PPA";
21-
fi
11+
- sudo add-apt-repository -y ppa:cassou/emacs
12+
- sudo add-apt-repository -y ppa:ubuntu-elisp/ppa
2213
- sudo apt-get update -qq
23-
- sudo apt-get install --force-yes -qq "$EMACS"
24-
- sudo apt-get install --force-yes -qq "${EMACS}-el" || true # OK to fail
25-
14+
- sudo apt-get install -qq $EMACS
15+
- if [ "$EMACS" = 'emacs-snapshot' ]; then
16+
sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-nox;
17+
fi
2618
# Install Cask
2719
- curl -fsSkL
2820
--max-time 10

0 commit comments

Comments
 (0)