Skip to content

Commit

Permalink
Update CI config, switch to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Apr 5, 2018
1 parent 3c71038 commit 251b9ad
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
23 changes: 13 additions & 10 deletions .travis.yml
Expand Up @@ -2,18 +2,20 @@ language: python
sudo: false

env:
- LUA="lua 5.1"
- LUA="lua 5.2"
- LUA="lua 5.3"
- LUA="luajit 2.0"
- LUA="lua=5.1"
- LUA="lua=5.2"
- LUA="lua=5.3"
- LUA="luajit=2.0"
- LUA="luajit=2.1"

before_install:
- pip install codecov
- pip install hererocks
- hererocks l -r^ --$LUA
- export PATH=$PATH:$PWD/l/bin
- luarocks install luacheck
- 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
Expand All @@ -22,5 +24,6 @@ script:
- luacheck src bin spec
- busted -c

after_success:
- luacov-coveralls
after_script:
- luacov
- codecov -X gcov
3 changes: 2 additions & 1 deletion README.md
@@ -1,6 +1,7 @@
# depgraph

[![Build Status](https://travis-ci.org/mpeterv/depgraph.svg?branch=master)](https://travis-ci.org/mpeterv/depgraph) [![Coverage Status](https://coveralls.io/repos/mpeterv/depgraph/badge.svg?branch=master&service=github)](https://coveralls.io/github/mpeterv/depgraph?branch=master)
[![Build Status](https://travis-ci.org/mpeterv/depgraph.svg?branch=master)](https://travis-ci.org/mpeterv/depgraph)
[![Coverage status](https://codecov.io/gh/mpeterv/depgraph/branch/master/graph/badge.svg)](https://codecov.io/gh/mpeterv/depgraph)

depgraph provides `luadepgraph` command-line tool for building, analyzing, and visualizing graph of dependencies between Lua modules within a package. To install it using [LuaRocks](https://luarocks.org), open terminal and run `luarocks install depgraph` or `sudo luarocks install depgraph`.

Expand Down

0 comments on commit 251b9ad

Please sign in to comment.