2019-05-18 07:37:46 +02:00
|
|
|
language: generic
|
|
|
|
sudo: false
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- luarocks
|
|
|
|
before_install:
|
|
|
|
- luarocks install --local luacheck
|
|
|
|
env:
|
2020-02-26 16:42:37 +01:00
|
|
|
- CONFIG=.luacheck_tidy
|
2019-05-18 07:37:46 +02:00
|
|
|
- CONFIG=.luacheckrc
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- name: "beauty check"
|
2020-02-26 16:42:37 +01:00
|
|
|
env: CONFIG=.luacheck_tidy
|
2019-05-18 07:37:46 +02:00
|
|
|
exclude:
|
|
|
|
- name: "health check"
|
2020-02-26 16:42:37 +01:00
|
|
|
env: CONFIG=.luacheckrc
|
2019-05-18 07:37:46 +02:00
|
|
|
script:
|
|
|
|
- $HOME/.luarocks/bin/luacheck --config $CONFIG .
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_failure: change
|