diff options
-rw-r--r-- | .travis.yml | 8 |
1 files 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: | |||
15 | - source .travis/setenv_lua.sh | 15 | - source .travis/setenv_lua.sh |
16 | - pip install --user cpp-coveralls | 16 | - pip install --user cpp-coveralls |
17 | - luarocks install Lua-cURL --server=https://luarocks.org/dev | 17 | - luarocks install Lua-cURL --server=https://luarocks.org/dev |
18 | - luarocks install luacov-coveralls --server=https://luarocks.org/dev | 18 | - luarocks install lua-path |
19 | - luarocks install lua-cjson | ||
20 | - luarocks install luacov | ||
21 | # install luacov-coveralls, but avoids installing luafilesystem | ||
22 | - luarocks install luacov-coveralls --server=https://luarocks.org/dev --deps-mode=none | ||
19 | 23 | ||
20 | install: | 24 | install: |
21 | - luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage" | 25 | - luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage" |
22 | 26 | ||
23 | script: | 27 | script: |
24 | - cd tests | 28 | - cd tests |
25 | - lua test.lua | 29 | - lua -lluacov test.lua |
26 | 30 | ||
27 | after_success: | 31 | after_success: |
28 | - coveralls -b .. -r .. -i ./src --dump c.report.json | 32 | - coveralls -b .. -r .. -i ./src --dump c.report.json |