diff options
author | Ignacio Burgueño <ignacio@users.noreply.github.com> | 2016-01-21 15:08:25 -0300 |
---|---|---|
committer | Ignacio Burgueño <ignacio@users.noreply.github.com> | 2016-01-21 15:08:25 -0300 |
commit | 3674e4f52fdd5fda3fe8cdd153b7a8c93dfb8491 (patch) | |
tree | 7a7437d371764f6c2c968e6ed397f04c8ec2c650 | |
parent | 5daddd4c2bfff60b2d7a13fa55e467b6f0ce415e (diff) | |
download | luafilesystem-3674e4f52fdd5fda3fe8cdd153b7a8c93dfb8491.tar.gz luafilesystem-3674e4f52fdd5fda3fe8cdd153b7a8c93dfb8491.tar.bz2 luafilesystem-3674e4f52fdd5fda3fe8cdd153b7a8c93dfb8491.zip |
Adds missing -lluacov test
-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 |