aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Brautaset <stig@brautaset.org>2017-09-30 23:56:38 +0100
committerStig Brautaset <stig@brautaset.org>2017-10-01 00:06:17 +0100
commit1108c6de677eb6cbd268a63d53dfb75032acc678 (patch)
tree2a54506674f19a7693330c33025de3bf369c7a4f
parenta5e7c7166f5d4baf4b6487f44865f2636cda4698 (diff)
Drop Cask as it doesn't work on Emacs 26
-rw-r--r--.travis.yml5
-rw-r--r--Cask12
-rw-r--r--README.org1
-rwxr-xr-xrun-tests.sh7
4 files changed, 7 insertions, 18 deletions
diff --git a/.travis.yml b/.travis.yml
index 04eb728..a27f9ff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
language: emacs-lisp
sudo: false
-env:
- EMACS_VERSION=25.2
+ - EMACS_VERSION=snapshot
before_install:
# Configure $PATH: Executables are installed to $HOME/bin
- export PATH="$HOME/bin:$PATH"
@@ -10,9 +10,6 @@ before_install:
# Install Emacs (according to $EMACS_VERSION) and Cask
- make -f emacs-travis.mk install_emacs
- make -f emacs-travis.mk install_cask
-install:
- # Install your dependencies
- - cask install
script:
# Run your tests
- ./run-tests.sh
diff --git a/Cask b/Cask
deleted file mode 100644
index 7f55b27..0000000
--- a/Cask
+++ /dev/null
@@ -1,12 +0,0 @@
-(source gnu)
-(source melpa)
-
-(package-file "ox-jira.el")
-
-(files "ox-jira.el")
-
-(development
- (depends-on "f")
- (depends-on "ecukes")
- (depends-on "ert-runner")
- (depends-on "el-mock"))
diff --git a/README.org b/README.org
index d0c26e6..a9ab291 100644
--- a/README.org
+++ b/README.org
@@ -79,4 +79,3 @@
valuable contribution.
Running the =./run-tests.sh= script should run all the tests automatically.
- You'll need [[https://cask.github.io][Cask]] installed to run this script.
diff --git a/run-tests.sh b/run-tests.sh
index bf84fc5..e337bf8 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -1,3 +1,8 @@
#!/bin/sh -e
-cask exec ert-runner -L . -L test "$@"
+emacs --version
+emacs -q \
+ --batch \
+ -l ox-jira.el \
+ -l test/ox-jira-test.el \
+ -f ert-run-tests-batch-and-exit