2012-09-13 06:46:50 +08:00
|
|
|
language: emacs-lisp
|
|
|
|
before_install:
|
|
|
|
- if [ "$EMACS" = 'emacs-snapshot' ]; then
|
2014-04-19 05:46:46 +08:00
|
|
|
sudo add-apt-repository -y ppa:cassou/emacs || exit $?;
|
|
|
|
sudo apt-get update -qq || exit $?;
|
2012-09-13 06:46:50 +08:00
|
|
|
sudo apt-get install -qq
|
2014-04-19 05:46:46 +08:00
|
|
|
emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot || exit $?;
|
2012-09-13 06:46:50 +08:00
|
|
|
fi
|
2014-04-05 10:08:26 +08:00
|
|
|
- if [ $($EMACS -Q -batch --eval '(message "%d" emacs-major-version)' 2>&1) -lt 24 ] ; then
|
|
|
|
mkdir pkg &&
|
2014-04-19 05:46:46 +08:00
|
|
|
curl --silent --show-error -L -o pkg/package.el https://github.com/mirrors/emacs/raw/1a0a666f941c99882093d7bd08ced15033bc3f0c/lisp/emacs-lisp/package.el;
|
2014-04-05 10:08:26 +08:00
|
|
|
fi
|
2012-09-13 06:46:50 +08:00
|
|
|
env:
|
|
|
|
- EMACS=emacs
|
|
|
|
- EMACS=emacs-snapshot
|
|
|
|
script:
|
2012-09-13 07:40:09 +08:00
|
|
|
test/run-travis-ci.sh
|