Skip to content

Commit c82ebf1

Browse files
committed
Update Travis script
1 parent 1ddf808 commit c82ebf1

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

.travis.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,22 @@
11
env:
22
matrix:
3-
- EMACS=emacs24
4-
- EMACS=emacs-snapshot
5-
6-
matrix:
7-
allow_failures:
8-
- env: EMACS=emacs-snapshot
3+
- EVM_EMACS=emacs-24.5-travis
4+
- EVM_EMACS=emacs-25.3-travis
5+
- EVM_EMACS=emacs-26.1-travis
96

107
before_install:
11-
- git submodule --quiet update --init --recursive
8+
- git clone https://github.com/rejeep/evm.git $HOME/.evm
9+
- export PATH=$HOME/.evm/bin:$PATH
10+
- evm config path /tmp
11+
- evm install $EVM_EMACS --use --skip
1212

1313
install:
14-
- if [ "$EMACS" = 'emacs24' ]; then
15-
sudo add-apt-repository -y ppa:cassou/emacs &&
16-
sudo apt-get -qq update &&
17-
sudo apt-get -qq -f install &&
18-
sudo apt-get -qq install emacs24 emacs24-el;
19-
fi
20-
- if [ "$EMACS" = 'emacs-snapshot' ]; then
21-
sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
22-
sudo apt-get -qq update &&
23-
sudo apt-get -qq -f install &&
24-
sudo apt-get -qq install emacs-snapshot &&
25-
sudo apt-get -qq install emacs-snapshot-el;
26-
fi
2714
- curl -fsSkL https://raw.github.com/cask/cask/master/go | python
28-
- export PATH="/home/travis/.cask/bin:$PATH"
15+
- export PATH=/home/travis/.cask/bin:$PATH
2916
- cask install
3017

3118
script:
32-
- cask build
19+
- cask build 2>&1 >/dev/null | grep "Error" | wc -l | grep "0"
3320

3421
notifications:
3522
email: false

0 commit comments

Comments
 (0)