aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2018-02-09 21:00:23 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2018-02-10 15:24:42 +0300
commit155c4878708988674444abc2a2920b785980bd77 (patch)
tree6b90d550fec66347be2a25d53a49751f3fbd0d27 /appveyor.yml
parent4c22bfb86abcd97253c73d2175d0a715c2a2cc12 (diff)
downloadluarocks-155c4878708988674444abc2a2920b785980bd77.tar.gz
luarocks-155c4878708988674444abc2a2920b785980bd77.tar.bz2
luarocks-155c4878708988674444abc2a2920b785980bd77.zip
Fix CI build and coverage gathering
* Default Mac image has been changed on Travis. Use `pip2` instead of `pip`. * Don't install bit32 on Appveyor or luacov-coveralls on Travis. luacov-coveralls isn't used anymore. * Pass luacov.report.out to codecov explicitly on Appveyor, it doesn't find it there. Also disable gcov run. * Use cluacov, should hopefully improve speed and coverage accuracy. * Use the new location for coverage files (testrun instead of test).
Diffstat (limited to '')
-rw-r--r--appveyor.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 669acd7a..18bb858e 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -43,13 +43,12 @@ before_build:
43 43
44build_script: 44build_script:
45 - luarocks install busted 1> NUL 2> NUL 45 - luarocks install busted 1> NUL 2> NUL
46 - luarocks install cluacov 1> NUL 2> NUL
46 47
47test_script: 48test_script:
48 - busted -o gtest -v --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER% 49 - busted -o gtest -v --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER%
49 50
50after_test: 51after_test:
51 - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32)
52 - luarocks install luacov
53 - pip install codecov 52 - pip install codecov
54 - luacov -c test/luacov.config 53 - luacov -c testrun/luacov.config
55 - cd test && codecov \ No newline at end of file 54 - cd testrun && codecov -f luacov.report.out -X gcov