From 7ea7a548528bac2788dc4b4ee3b85f2410ba2216 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 18 Jul 2017 19:45:02 +0200 Subject: [PATCH] added --- run-tests.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 run-tests.sh diff --git a/run-tests.sh b/run-tests.sh new file mode 100644 index 0000000..6c5b43f --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e + +if [ -n "$TRAVIS" ]; then + cd "$(dirname "$0")" + + ECUKES_EMACS=${EMACS:-$(which emacs)} + export ECUKES_EMACS + + echo "*** Emacs version ***" + echo "ECUKES_EMACS = $ECUKES_EMACS" + "$ECUKES_EMACS" --version + echo +fi + +cask emacs --batch -Q -l package-lint.el -f package-lint-batch-and-exit autoscratch-mode.el +cask exec ert-runner -L . -L test "$@"