Update CI script, switch to codecov for coverage uploads

This commit is contained in:
Peter Melnichenko
2018-03-17 13:41:51 +03:00
parent b9980b645e
commit 8316dc897f
2 changed files with 9 additions and 8 deletions

View File

@@ -6,15 +6,15 @@ env:
- LUA="lua 5.2"
- LUA="lua 5.3"
- LUA="luajit 2.0"
- LUA="luajit 2.1"
before_install:
- pip install hererocks
- hererocks l -r^ --$LUA
- export PATH=$PATH:$PWD/l/bin
- luarocks install luacheck
- luarocks install dkjson --deps-mode=none
- hererocks lua_install --$LUA -r latest
- source lua_install/bin/activate
- luarocks install busted
- luarocks install luacov-coveralls
- luarocks install cluacov
- luarocks install luacheck
install:
- luarocks make
@@ -23,5 +23,6 @@ script:
- luacheck src spec
- busted -c
after_success:
- luacov-coveralls
after_script:
- luacov
- codecov -X gcov

View File

@@ -1,7 +1,7 @@
# argparse
[![Build Status](https://travis-ci.org/mpeterv/argparse.png?branch=master)](https://travis-ci.org/mpeterv/argparse)
[![Coverage Status](https://coveralls.io/repos/mpeterv/argparse/badge.svg?branch=master&service=github)](https://coveralls.io/github/mpeterv/argparse?branch=master)
[![Coverage Status](https://coveralls.io/repos/mpeterv/argparse/badge.svg?branch=master)](https://coveralls.io/r/mpeterv/argparse?branch=master)
Argparse is a feature-rich command line parser for Lua inspired by argparse for Python.