From b18f6155c3e02e8beb58bdf23a7e33d1dfe39bf0 Mon Sep 17 00:00:00 2001 From: Peter Melnichenko Date: Mon, 25 Apr 2016 16:16:15 +0300 Subject: [PATCH] .travis.yml: run tests from root directory Fixes missing view for tests/test.lua coverage on coveralls site. --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 60539a0..fd4ce5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: