diff --git a/.travis.yml b/.travis.yml index 65b252a..7c35ca4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" @@ -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: diff --git a/README.md b/README.md index 76be64f..7084851 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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: