2019-02-22 01:37:49 +01:00
|
|
|
language: generic
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- luarocks
|
|
|
|
|
2019-02-26 18:46:15 +01:00
|
|
|
install:
|
|
|
|
- pyenv global 3.6.3
|
|
|
|
- pip3 install --user pre-commit
|
|
|
|
- luarocks install --local luacheck
|
2019-02-22 01:37:49 +01:00
|
|
|
|
2019-02-26 18:46:15 +01:00
|
|
|
script:
|
2019-04-03 00:29:43 +02:00
|
|
|
# All linters are run with pre-commit hooks
|
|
|
|
- export PATH="$HOME/.luarocks/bin:$PATH"
|
2019-02-26 18:46:15 +01:00
|
|
|
- $HOME/.local/bin/pre-commit run --all-files
|