diff options
author | Florian Walch <florian@fwalch.com> | 2015-02-02 17:19:12 +0100 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2015-02-02 17:23:03 +0100 |
commit | 2eda611cbc9fc79b97d906f3810a2b5c0d928be6 (patch) | |
tree | ad2d80d0de2bc28cf942d5f214b83856e4a2d8d6 | |
parent | 6360be982fb2683a8ea5d7708e0651937349f9cb (diff) | |
download | rneovim-2eda611cbc9fc79b97d906f3810a2b5c0d928be6.tar.gz rneovim-2eda611cbc9fc79b97d906f3810a2b5c0d928be6.tar.bz2 rneovim-2eda611cbc9fc79b97d906f3810a2b5c0d928be6.zip |
Travis: Fail fast, disable JIT for functional tests.
Disable JIT to find cause for random `PANIC: unprotected error in call to Lua API` on Travis (OS X).
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | test/functional/helpers.lua | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index af3a88ed52..d464d67bb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ matrix: - os: osx env: CI_TARGET=gcc compiler: gcc-4.9 + fast_finish: true before_install: # Pins the version of the java package installed on the Travis VMs # and avoids a lengthy upgrade process for them. diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index ea98ff4ce3..e63c79ec80 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -1,3 +1,8 @@ +if jit then + -- Disable JIT because of random errors on Travis with OS X. + jit.off(true, true) +end + require('coxpcall') local Loop = require('nvim.loop') local MsgpackStream = require('nvim.msgpack_stream') |