branch: elpa/typescript-mode
commit 316b018d27232dd0b8ed5e0cea436c1f1f9706e9
Author: Jostein Kjønigsen <[email protected]>
Commit: Jostein Kjønigsen <[email protected]>
Add CI-config and test-runner.
---
.travis.yml | 17 +++++++++++++++++
Makefile | 9 +++++++++
2 files changed, 26 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..c8b4f418f2
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+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-24.1-travis
+ - EVM_EMACS=emacs-24.2-travis
+ - EVM_EMACS=emacs-24.3-travis
+ - EVM_EMACS=emacs-24.4-travis
+ - EVM_EMACS=emacs-24.5-travis
+
+script:
+ - emacs --version
+ - make test
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..abaa9bf6c9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+EMACS=$(shell which emacs) -Q -batch -L .
+
+cask:
+ cask build
+
+test: cask
+ + $(EMACS) -l typescript-mode-tests.el -f ert-run-tests-batch-and-exit
+
+# end