Skip to content

Commit

Permalink
Merge pull request #5 from timothymtorres/travis-hotfix
Browse files Browse the repository at this point in the history
Fix travis CI and coverage labels
  • Loading branch information
timothymtorres committed Sep 15, 2021
2 parents 7b8dcb9 + 9c6e724 commit 4f20990
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ sudo: false
env:
- LUA="lua=5.1"
- LUA="lua=5.2"
- LUA="lua=5.3"
- LUA="lua=5.4"
- LUA="luajit=2.0"
- LUA="luajit=2.1"

Expand All @@ -19,11 +17,15 @@ install:
- luarocks install luacov
- luarocks install luacov-coveralls

before_script:
- cd tests

script:
- lua dice_test.lua -v --coverage
- lua -v -lluacov dice_test.lua
- lua dice_test.lua -v

after_success:
- luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install
- luacov-coveralls -v --include dice.lua

branches:
only:
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://app.travis-ci.com/timothymtorres/RL-Dice.svg?branch=master)](https://app.travis-ci.com/timothymtorres/RL-Dice)
[![Coverage Status](https://coveralls.io/repos/github/timothymtorres/RL-Dice/badge.svg?branch=master)](https://coveralls.io/github/timothymtorres/RL-Dice?branch=master)
[![Build Status](https://app.travis-ci.com/timothymtorres/RL-Dice.svg)](https://app.travis-ci.com/timothymtorres/RL-Dice)
[![Coverage Status](https://coveralls.io/repos/github/timothymtorres/RL-Dice/badge.svg)](https://coveralls.io/github/timothymtorres/RL-Dice)
[![github](https://img.shields.io/github/license/timothymtorres/RL-Dice.svg)](https://choosealicense.com/licenses/mit/)
[![tags](https://img.shields.io/github/tag/timothymtorres/RL-dice.svg?label=version)](https://github.com/timothymtorres/RL-Dice/tags)
[![commit](https://img.shields.io/github/last-commit/timothymtorres/rl-dice.svg)](https://github.com/timothymtorres/RL-Dice/commits/master)
Expand All @@ -9,6 +9,14 @@ RL-Dice

A robust module to roll and manipulate roguelike dice. This has also been included in [rotLove](https://github.com/paulofmandown/rotLove) roguelike toolkit which I highly recommend if you plan on making a roguelike.

This library is compatible with:

* Lua 5.1
* Lua 5.2
* Luajit 2.0
* Luajit 2.1
* Love2D

Consult the [online documentation](https://timothymtorres.github.io/RL-Dice) for the API and usage examples.

The dice module provides the following:
Expand Down

0 comments on commit 4f20990

Please sign in to comment.