From 3674e4f52fdd5fda3fe8cdd153b7a8c93dfb8491 Mon Sep 17 00:00:00 2001 From: Ignacio BurgueƱo Date: Thu, 21 Jan 2016 15:08:25 -0300 Subject: Adds missing -lluacov test --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2dbcc89..60539a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -- cgit v1.2.3-55-g6feb