Enable colors when using Luacheck in Travis CI (#96)

Travis CI has supported colored console output for a while now.
This commit is contained in:
Hugo Locurcio 2019-02-22 15:37:16 +01:00 committed by rubenwardy
parent 9479d5cbc1
commit 70aa77865d
2 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ addons:
before_install: before_install:
- luarocks install --local luacheck - luarocks install --local luacheck
script: script:
- $HOME/.luarocks/bin/luacheck --no-color . - $HOME/.luarocks/bin/luacheck .
notifications: notifications:
email: false email: false
``` ```
@ -140,7 +140,7 @@ If your project is a game rather than a mod or mod pack,
change the line after `script:` to: change the line after `script:` to:
```yml ```yml
- $HOME/.luarocks/bin/luacheck --no-color mods/ - $HOME/.luarocks/bin/luacheck mods/
``` ```
Now commit and push to Github. Go to your project's page on Github, and click Now commit and push to Github. Go to your project's page on Github, and click

View File

@ -176,7 +176,7 @@ addons:
before_install: before_install:
- luarocks install --local luacheck && luarocks install --local busted - luarocks install --local luacheck && luarocks install --local busted
script: script:
- $HOME/.luarocks/bin/luacheck --no-color . - $HOME/.luarocks/bin/luacheck .
- $HOME/.luarocks/bin/busted . - $HOME/.luarocks/bin/busted .
notifications: notifications:
email: false email: false