* .travis.yml: Add emacs-snapshot.
* Makefile: Echo the path to the emacs binary.
* hydra-test.el: Echo Emacs version.
language: emacs-lisp
env:
matrix:
- - EMACS=emacs24
+ - emacs=emacs24
+ - emacs=emacs-snapshot
before_install:
- sudo add-apt-repository -y ppa:cassou/emacs
+ - sudo add-apt-repository -y ppa:ubuntu-elisp
- sudo apt-get update -qq
- - sudo apt-get install -qq $EMACS
+ - sudo apt-get install -qq $emacs
script:
- make test
all: test
test:
+ @echo "Using $(shell which $(emacs))..."
$(emacs) -batch $(LOAD) -f ert-run-tests-batch-and-exit
compile:
;;; Code:
(require 'ert)
+(message "Emacs version: %s" emacs-version)
(ert-deftest hydra-red-error ()
(should