aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-10-31 00:54:57 -0400
committerSean Allred <code@seanallred.com>2014-10-31 00:54:57 -0400
commit16ee8a77119db4069078d8c6cd64f362118f7bd7 (patch)
treec17eb0068c31e38d1914c7c133972171272c7c52
parent3067d6b54050d657742b356c6b8b5a5173b12a54 (diff)
Hopefully fix Travis build
`emacs` isn't an available command, but hopefully $EMACS is. Again, copying from yasnippet.
-rw-r--r--.travis.yml2
-rw-r--r--tests.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 6b7d7ea..80b34e4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,4 +12,4 @@ install:
sudo apt-get -qq install emacs24-nox;
fi
-script: emacs -batch -l ert -l tests.el -f ert-run-tests-batch-and-exit
+script: $EMACS -batch -L . -l ert -l tests.el -f ert-run-tests-batch-and-exit
diff --git a/tests.el b/tests.el
index 24caedb..26673c3 100644
--- a/tests.el
+++ b/tests.el
@@ -7,11 +7,11 @@
;;; Tests
-(add-to-list 'load-path ".")
-
(require 'stack-core)
(require 'stack-question)
+(setq stack-core-remaining-api-requests-message-threshold 50000)
+
(ert-deftest test-question-retrieve ()
(should (stack-question-get-questions 'emacs)))