diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2016-04-25 16:16:15 +0300 |
---|---|---|
committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-04-26 11:00:34 +0300 |
commit | 2d4d609d810a938ad0df8933dae18ccae7d12b14 (patch) | |
tree | 932acbda5328b6422b096d585015aa4ddb6410af | |
parent | 436bc441fa34a086adfae776941e6e7c111a4582 (diff) | |
download | luafilesystem-2d4d609d810a938ad0df8933dae18ccae7d12b14.tar.gz luafilesystem-2d4d609d810a938ad0df8933dae18ccae7d12b14.tar.bz2 luafilesystem-2d4d609d810a938ad0df8933dae18ccae7d12b14.zip |
.travis.yml: run tests from root directory
Fixes missing view for tests/test.lua coverage on coveralls site.
-rw-r--r-- | .travis.yml | 5 |
1 files 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: | |||
25 | - 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" |
26 | 26 | ||
27 | script: | 27 | script: |
28 | - cd tests | 28 | - lua -lluacov tests/test.lua |
29 | - lua -lluacov test.lua | ||
30 | 29 | ||
31 | after_success: | 30 | after_success: |
32 | - coveralls -b .. -r .. -i ./src --dump c.report.json | 31 | - coveralls -b . -i src --dump c.report.json |
33 | - luacov-coveralls -j c.report.json -v | 32 | - luacov-coveralls -j c.report.json -v |
34 | 33 | ||
35 | notifications: | 34 | notifications: |