Add CI badge and run credo in the test environment to stop needing to compile twice.

This commit is contained in:
James Harton 2017-03-08 16:35:09 +13:00
parent 432b1105da
commit 5c2254ebc8
2 changed files with 4 additions and 2 deletions

View file

@ -5,4 +5,4 @@ otp_release:
- 19.2
script:
- mix test
- mix credo --strict
- MIX_ENV=test mix credo --strict

View file

@ -1,5 +1,7 @@
# Vivid
[![Build Status](https://travis-ci.org/jamesotron/vivid.ex.svg?branch=master)](https://travis-ci.org/jamesotron/vivid.ex)
Vivid is a simple 2D rendering library.
I plan to use it to render polygons for display on a
@ -120,4 +122,4 @@ Font use restrictions:
## Status
This library is still experimental, but what few features it has work well.
This library is still experimental, but what few features it has work well.