Skip to content

Commit

Permalink
Upgrade Travis script (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkkrp committed Aug 2, 2017
1 parent d784238 commit 2d42150
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
31 changes: 12 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,28 @@
language: c

env:
matrix:
- EMACS=emacs24
- EMACS=emacs-snapshot
- EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.2-travis
- EVM_EMACS=emacs-git-snapshot-travis

matrix:
allow_failures:
- env: EMACS=emacs-snapshot
- env: EVM_EMACS=emacs-git-snapshot-travis

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

install:
- if [ "$EMACS" = 'emacs24' ]; then
sudo add-apt-repository -y ppa:cassou/emacs &&
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs24 emacs24-el;
fi
- if [ "$EMACS" = 'emacs-snapshot' ]; then
sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs-snapshot &&
sudo apt-get -qq install emacs-snapshot-el;
fi
- curl -fsSkL https://raw.github.com/cask/cask/master/go | python
- export PATH="/home/travis/.cask/bin:$PATH"
- export PATH=/home/travis/.cask/bin:$PATH
- cask install

script:
- cask build
- cask build 2>&1 >/dev/null | grep "Error" | wc -l | grep "0"

notifications:
email: false
2 changes: 2 additions & 0 deletions Cask
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
;; -*- mode: emacs-lisp -*-

(source gnu)
(source melpa)

Expand Down

0 comments on commit 2d42150

Please sign in to comment.