Run pre-commit hooks on Travis CI
parent
9027af70ee
commit
b0f47dc7e7
|
@ -6,7 +6,10 @@ addons:
|
|||
- luarocks
|
||||
|
||||
before_install: |
|
||||
pyenv global 3.6.3
|
||||
pip3 install --user pre-commit
|
||||
luarocks install --local luacheck
|
||||
|
||||
script: |
|
||||
"$HOME/.local/bin/pre-commit" run --all-files
|
||||
"$HOME/.luarocks/bin/luacheck" .
|
||||
|
|
Loading…
Reference in New Issue