el-get/.travis.yml
Noam Postavsky 979314ddff some tweaks to travis tests
- use github emacs mirror for travis test: repo.or.cz was down a few
  times; since github.com must be up to run anything anyway, it's
  preferable to rely on that instead.

- run all the apt commands separately; there have been some intermittent
  failures, this should make it easier to diagnose.

- suppress curl progress bar

- show emacs --version before running tests
2014-04-23 23:29:43 -04:00

18 lines
656 B
YAML

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