branch: elpa/kotlin-mode
commit 1ed0c5589ef2d53242f767f6071dbea90c64e813
Merge: e5ee4c4bd2 6d679ed0da
Author: Gregg Hernandez <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #22 from russel/master
Switch from using a Bash script to using Make for the tests.
---
.travis.yml | 20 ++++++++++++++++++++
test/run-tests.sh | 5 -----
2 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..2f333ef8c1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+language: generic
+sudo: false
+before_install:
+ - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh
&& source ./x.sh
+ - evm install $EVM_EMACS --use --skip
+ - cask
+env:
+ - EVM_EMACS=emacs-25.1-travis
+ - EVM_EMACS=emacs-git-snapshot-travis
+script:
+ - emacs --version
+ - cask exec ert-runner
+
+notifications:
+ email: false
+
+matrix:
+ fast_finish: true
+ allow_failures:
+ - env: EVM_EMACS=emacs-git-snapshot-travis
diff --git a/test/run-tests.sh b/test/run-tests.sh
deleted file mode 100755
index 80faa08d32..0000000000
--- a/test/run-tests.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-cd ../
-emacs -batch -l ert -l test/kotlin-mode-test.el -f ert-run-tests-batch-and-exit
-cd test