install cl-lib if it doesn't exist in travis build

This commit is contained in:
Donald Curtis 2013-04-04 20:28:27 -05:00
parent aca476a4f8
commit 80f5edfdd5
2 changed files with 4 additions and 1 deletions

View file

@ -14,6 +14,8 @@
(add-to-list 'load-path melpa-root-path) (add-to-list 'load-path melpa-root-path)
(add-to-list 'load-path (expand-file-name "espuds" melpa-util-path)) (add-to-list 'load-path (expand-file-name "espuds" melpa-util-path))
(require 'package)
(package-initialize)
(require 'package-build) (require 'package-build)
(require 'ert) (require 'ert)
(require 'espuds) (require 'espuds)
@ -40,4 +42,3 @@
(Teardown (Teardown
;; After when everything has been run ;; After when everything has been run
) )

View file

@ -9,4 +9,6 @@ echo "ECUKES_EMACS = $ECUKES_EMACS"
"$ECUKES_EMACS" --version "$ECUKES_EMACS" --version
echo echo
"$ECUKES_EMACS" --batch --eval "(unless (ignore-errors (require 'cl-lib)) (package-refresh-contents) (package-install 'cl-lib))"
exec ./util/ecukes/ecukes --graphical exec ./util/ecukes/ecukes --graphical