aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-13 02:07:43 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-13 02:07:43 +0000
commit6355c676f48506ecb730acb200085f7b211e08c4 (patch)
tree8173b74b21d1445997159adc9a5cca261d9c8892 /Makefile
parent4cf7825918bfb60e2d1d1ce1dd342665f1161fa2 (diff)
parentcfd909e8524c37ac3bc94bec56c4e577b2c33d2d (diff)
Merge branch 'master' into sx-question-mode
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7b0b698
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,38 @@
+# This makefile runs the tests as Travis runs them. Be sure to test
+# locally before you push if you are under the impression that the
+# patch should work. This will cut down on the number of commits in
+# the repository that, essentially, patch patches.
+#
+# To test Emacs 24.1, for example, use
+#
+# make 1
+#
+# To test on all versions, of course, simply use
+#
+# make
+#
+# or
+#
+# make all
+#
+
+VERSIONS = 1 2 3 4
+
+all :: $(VERSIONS)
+
+$(VERSIONS) ::
+ evm install emacs-24.$@-bin --skip || true
+ evm use emacs-24.$@-bin
+ emacs --version
+ cask install
+ emacs --batch -L . -l ert -l test/tests.el -f ert-run-tests-batch-and-exit
+
+install_cask:
+ curl -fsSkL https://raw.github.com/cask/cask/master/go | python
+
+install_evm:
+ curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
+
+# Local Variables:
+# indent-tabs-mode: t
+# End: