From 16ee8a77119db4069078d8c6cd64f362118f7bd7 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Fri, 31 Oct 2014 00:54:57 -0400 Subject: Hopefully fix Travis build `emacs` isn't an available command, but hopefully $EMACS is. Again, copying from yasnippet. --- .travis.yml | 2 +- tests.el | 4 ++-- 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))) -- cgit v1.2.3