mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
.travis.yml: run tests from root directory
Fixes missing view for tests/test.lua coverage on coveralls site.
This commit is contained in:
@@ -25,11 +25,10 @@ install:
|
|||||||
- luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
|
- luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd tests
|
- lua -lluacov tests/test.lua
|
||||||
- lua -lluacov test.lua
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls -b .. -r .. -i ./src --dump c.report.json
|
- coveralls -b . -i src --dump c.report.json
|
||||||
- luacov-coveralls -j c.report.json -v
|
- luacov-coveralls -j c.report.json -v
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|||||||
Reference in New Issue
Block a user