diff options
author | Sean Allred <code@seanallred.com> | 2014-10-31 00:54:57 -0400 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-10-31 00:54:57 -0400 |
commit | 16ee8a77119db4069078d8c6cd64f362118f7bd7 (patch) | |
tree | c17eb0068c31e38d1914c7c133972171272c7c52 | |
parent | 3067d6b54050d657742b356c6b8b5a5173b12a54 (diff) |
Hopefully fix Travis build
`emacs` isn't an available command, but hopefully $EMACS is. Again,
copying from yasnippet.
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | 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 @@ -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))) |