Skip to content

Commit

Permalink
.travis.yml: run tests from root directory
Browse files Browse the repository at this point in the history
Fixes missing view for tests/test.lua coverage on coveralls site.
  • Loading branch information
mpeterv committed Apr 26, 2016
1 parent 95d946e commit b18f615
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ install:
- luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"

script:
- cd tests
- lua -lluacov test.lua
- lua -lluacov tests/test.lua

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

notifications:
Expand Down

0 comments on commit b18f615

Please sign in to comment.