branch: elpa/julia-mode commit 0e3217f3167435bee27dfdb0c68fa5e5703ed919 Author: Yichao Yu <yyc1...@gmail.com> Commit: Yichao Yu <yyc1...@gmail.com>
Enable travis on emacs23, emacs24, emacs-snapshot. --- .travis.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..32a1dfe --- /dev/null +++ b/.travis.yml @@ -0,0 +1,46 @@ +language: c +sudo: required +dist: trusty +env: + matrix: + - EMACS=emacs23 + - EMACS=emacs24 + - EMACS=emacs-snapshot + +matrix: + allow_failures: + - env: EMACS=emacs-snapshot + +branches: + only: + - master + - travis + +install: + - if [ "$EMACS" = 'emacs23' ]; then + sudo apt-get -qq update && + sudo apt-get -qq -f install && + sudo apt-get -qq install emacs23 emacs23-el; + fi + - if [ "$EMACS" = 'emacs24' ]; then + 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 + +script: + - $EMACS --version + - $EMACS --batch --eval '(progn (push "." load-path) (byte-compile-file "julia-mode.el"))' + - if [ "$EMACS" != emacs23 ]; then + $EMACS -batch -L . -l ert -l julia-mode-tests.el -f ert-run-tests-batch-and-exit; + fi + +notifications: + email: false