mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-27 18:42:20 +00:00
Update CI script, switch to codecov for coverage uploads
This commit is contained in:
15
.travis.yml
15
.travis.yml
@@ -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
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# argparse
|
||||
|
||||
[](https://travis-ci.org/mpeterv/argparse)
|
||||
[](https://coveralls.io/github/mpeterv/argparse?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.
|
||||
|
||||
|
Reference in New Issue
Block a user