2018-04-13 18:54:22 +02:00
|
|
|
language: generic
|
|
|
|
sudo: false
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- luarocks
|
|
|
|
before_install:
|
|
|
|
- luarocks install --local luacheck
|
2018-08-13 16:44:24 +02:00
|
|
|
env:
|
|
|
|
- CONFIG=.luacheckrc
|
|
|
|
- CONFIG=.luacheck_tidy
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- name: "health check"
|
|
|
|
env: CONFIG=.luacheckrc
|
|
|
|
allow_failures:
|
|
|
|
- name: "beauty check"
|
|
|
|
env: CONFIG=.luacheck_tidy
|
2018-04-13 18:54:22 +02:00
|
|
|
script:
|
2018-08-13 16:44:24 +02:00
|
|
|
- $HOME/.luarocks/bin/luacheck --config $CONFIG .
|
2018-04-13 18:54:22 +02:00
|
|
|
notifications:
|
2018-04-14 13:15:25 +02:00
|
|
|
email:
|
|
|
|
on_failure: change
|