Use Carton for running Ecukes tests.

This commit is contained in:
Johan Andersson 2013-06-14 21:40:51 +02:00
parent 8b308e05dd
commit cdc7295a53
8 changed files with 15 additions and 10 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@
/recipes/.dirstamp
/html/updates.rss
/download_counts.json
/elpa

8
.gitmodules vendored
View file

@ -1,9 +1,3 @@
[submodule "epkgs"]
path = epkgs
url = https://github.com/milkypostman/epkgs.git
[submodule "util/ecukes"]
path = util/ecukes
url = https://github.com/rejeep/ecukes.git
[submodule "util/espuds"]
path = util/espuds
url = https://github.com/rejeep/espuds.git
url = https://github.com/milkypostman/epkgs.git

View file

@ -12,6 +12,9 @@ before_install:
sudo apt-get install -qq
emacs24 emacs24-el emacs24-common-non-dfsg;
fi
- curl -fsSkL https://raw.github.com/rejeep/carton/master/go | sh
- export PATH="/home/travis/.carton/bin:$PATH"
- carton
env:
#- EMACS=emacs
- EMACS=emacs24

7
Carton Normal file
View file

@ -0,0 +1,7 @@
(source "melpa" "http://melpa.milkbox.net/packages/")
(package-file "melpa.el")
(development
(depends-on "ecukes")
(depends-on "espuds"))

View file

@ -1,3 +1,5 @@
(require 'cl)
(Given "^read recipes$"
(lambda ()
(pb/read-recipes)))

View file

@ -11,4 +11,4 @@ echo
"$ECUKES_EMACS" --batch --eval "(unless (ignore-errors (require 'cl-lib)) (package-refresh-contents) (package-install 'cl-lib))"
exec ./util/ecukes/ecukes --graphical
carton exec $(find elpa/ecukes-*/ecukes | tail -1)

@ -1 +0,0 @@
Subproject commit b2c449cf01163df3aa41f401b9aeac4887b3177c

@ -1 +0,0 @@
Subproject commit 62ef75cb51eef76c547d33a81cb2b6b6e384aefc