Run pre-commit hooks on Travis CI

master
Hugo Locurcio 2019-02-22 01:10:40 +01:00
parent 9027af70ee
commit b0f47dc7e7
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 3 additions and 0 deletions

View File

@ -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" .