aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)))