From e0be61b29d1d88ad7daa5f876faaf296e5935f9c Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Sat, 20 May 2017 08:22:04 +0800 Subject: specify statsfile's path to avoid multi statsfile and not found --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d3597c887..15dd1eb0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ script: - xmake -P core - export XMAKE_PROGRAM_DIR=$PWD/xmake - core/build/xmake lua versioninfo - - echo 'require("luacov")' > tmp + - echo "require('luacov.runner').init({['statsfile']='$PWD/luacov.stats.out',['reportfile']='$PWD/luacov.report.out'})" > tmp - cat xmake/core/_xmake_main.lua >> tmp - mv tmp xmake/core/_xmake_main.lua - cp core/build/xmake $(which xmake) || sudo cp core/build/xmake $(which xmake) -- cgit v1.3.1