From 72235cfdf53a137d96495dbd4ce275b243abbbff Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Mon, 30 Oct 2017 15:28:54 +0100 Subject: [PATCH] [CI] apply patch for busted junit testcase time (#3450) Apply junit testcase time fix so CircleCI can actually do something useful with the results. This can be removed once there is a busted 2.0.rc13 or final See https://github.com/Olivine-Labs/busted/commit/830f175c57ca3f9e79f95b8c4eaacf58252453d7 --- .ci/helper_luarocks.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/helper_luarocks.sh b/.ci/helper_luarocks.sh index 42209d3d7..d07080113 100755 --- a/.ci/helper_luarocks.sh +++ b/.ci/helper_luarocks.sh @@ -13,6 +13,10 @@ travis_retry luarocks --local install luafilesystem travis_retry luarocks --local install ansicolors travis_retry luarocks --local install busted 2.0.rc12-1 #- mv -f $HOME/.luarocks/bin/busted_bootstrap $HOME/.luarocks/bin/busted +# Apply junit testcase time fix. This can be removed once there is a busted 2.0.rc13 or final +# See https://github.com/Olivine-Labs/busted/commit/830f175c57ca3f9e79f95b8c4eaacf58252453d7 +sed -i 's|testcase_node.time = |testcase_node:set_attrib("time", |' "${HOME}/.luarocks/share/lua/5.1/busted/outputHandlers/junit.lua" + travis_retry luarocks --local install luacheck travis_retry luarocks --local install lanes # for parallel luacheck