Enable colored Luacheck output on Travis CI

This also removes the deprecated `sudo: false` option, as Travis CI
is phasing out the container-based infrastructure.
This commit is contained in:
Hugo Locurcio 2019-02-24 19:46:14 +01:00
parent 196f206d3e
commit b38b5b2357
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

@ -1,12 +1,11 @@
language: generic language: generic
sudo: false
addons: addons:
apt: apt:
packages: packages:
- luarocks - luarocks
before_install: before_install:
- luarocks install --local luacheck - luarocks install --local luacheck
script: script:
- $HOME/.luarocks/bin/luacheck --no-color ./mods - $HOME/.luarocks/bin/luacheck ./mods
notifications: notifications:
email: false email: false