branch: master
commit 666048cec6e8b54e4a43dd13f40f298c685283f8
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
Update testing setup
* .travis.yml: Add emacs-snapshot.
* Makefile: Echo the path to the emacs binary.
* hydra-test.el: Echo Emacs version.
---
.travis.yml | 6 ++++--
Makefile | 1 +
hydra-test.el | 1 +
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 1f5dbc7..e97acdb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,14 @@
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
diff --git a/Makefile b/Makefile
index 35709e1..43bcb5a 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ LOAD = -l lv.el -l hydra.el -l hydra-test.el
all: test
test:
+ @echo "Using $(shell which $(emacs))..."
$(emacs) -batch $(LOAD) -f ert-run-tests-batch-and-exit
compile:
diff --git a/hydra-test.el b/hydra-test.el
index c101e2b..2dd5883 100644
--- a/hydra-test.el
+++ b/hydra-test.el
@@ -25,6 +25,7 @@
;;; Code:
(require 'ert)
+(message "Emacs version: %s" emacs-version)
(ert-deftest hydra-red-error ()
(should