# https://github.com/rolandwalker/emacs-travis language: generic env: matrix: - EMACS=emacs24 - EMACS=emacs-snapshot install: - if [ "$EMACS" = "emacs24" ]; then sudo add-apt-repository -y ppa:cassou/emacs && sudo apt-get update -qq && sudo apt-get install -qq emacs24 emacs24-el; fi - if [ "$EMACS" = "emacs-snapshot" ]; then sudo add-apt-repository -y ppa:ubuntu-elisp/ppa && sudo apt-get update -qq && sudo apt-get -qq -f install && sudo apt-get install -qq emacs-snapshot; fi script: make test-batch EMACS=${EMACS}