diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2018-02-09 21:00:23 +0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-03-12 21:06:58 -0300 |
commit | beb4e60108f14a87a58edcddace5187d31896d38 (patch) | |
tree | e8886e019eb0eb10cd11923ab86dd96976f04e2c /.travis.yml | |
parent | 3422dd2ae3cf2c3676846e4300529a5cc9a36191 (diff) | |
download | luarocks-beb4e60108f14a87a58edcddace5187d31896d38.tar.gz luarocks-beb4e60108f14a87a58edcddace5187d31896d38.tar.bz2 luarocks-beb4e60108f14a87a58edcddace5187d31896d38.zip |
Fix CI build and coverage gathering
* Default Mac image has been changed on Travis. Use `pip2` instead of `pip`.
* Don't install bit32 on Appveyor or luacov-coveralls on Travis.
luacov-coveralls isn't used anymore.
* Pass luacov.report.out to codecov explicitly on Appveyor, it doesn't
find it there. Also disable gcov run.
* Use cluacov, should hopefully improve speed and coverage accuracy.
* Use the new location for coverage files (testrun instead of test).
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 18c8504f..fa5a4236 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -54,13 +54,13 @@ matrix: | |||
54 | 54 | ||
55 | 55 | ||
56 | before_install: | 56 | before_install: |
57 | - if [ ! -f lua_install/bin/luarocks ]; then pip install hererocks; fi | 57 | - if [ ! -f lua_install/bin/luarocks ]; then pip2 install hererocks; fi |
58 | - if [ ! -f lua_install/bin/luarocks ]; then hererocks lua_install -r^ --$LUA; fi | 58 | - if [ ! -f lua_install/bin/luarocks ]; then hererocks lua_install -r^ --$LUA; fi |
59 | - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH | 59 | - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH |
60 | 60 | ||
61 | install: | 61 | install: |
62 | - if [ ! -f lua_install/bin/busted ]; then luarocks install busted; fi | 62 | - if [ ! -f lua_install/bin/busted ]; then luarocks install busted; fi |
63 | - if [ ! -f lua_install/bin/luacov ]; then luarocks install luacov; luarocks install luacov-coveralls; fi | 63 | - if [ ! -f lua_install/bin/luacov ]; then luarocks install cluacov; fi |
64 | 64 | ||
65 | script: | 65 | script: |
66 | - lua -v | 66 | - lua -v |