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

View File

@@ -1,7 +1,7 @@
# argparse # argparse
[![Build Status](https://travis-ci.org/mpeterv/argparse.png?branch=master)](https://travis-ci.org/mpeterv/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. Argparse is a feature-rich command line parser for Lua inspired by argparse for Python.