mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
Adds missing -lluacov test
This commit is contained in:
@@ -15,14 +15,18 @@ before_install:
|
||||
- source .travis/setenv_lua.sh
|
||||
- pip install --user cpp-coveralls
|
||||
- luarocks install Lua-cURL --server=https://luarocks.org/dev
|
||||
- luarocks install luacov-coveralls --server=https://luarocks.org/dev
|
||||
- luarocks install lua-path
|
||||
- luarocks install lua-cjson
|
||||
- luarocks install luacov
|
||||
# install luacov-coveralls, but avoids installing luafilesystem
|
||||
- luarocks install luacov-coveralls --server=https://luarocks.org/dev --deps-mode=none
|
||||
|
||||
install:
|
||||
- luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
|
||||
|
||||
script:
|
||||
- cd tests
|
||||
- lua test.lua
|
||||
- lua -lluacov test.lua
|
||||
|
||||
after_success:
|
||||
- coveralls -b .. -r .. -i ./src --dump c.report.json
|
||||
|
||||
Reference in New Issue
Block a user