Update .travis.yml

This commit is contained in:
Louis 2020-07-09 13:28:19 +02:00
parent 8ee235b096
commit a0d3b0451e

@ -1,14 +1,18 @@
language: python
install:
- sudo apt-get update -qq
- sudo apt-get install -qqq luarocks
- pip3 install pre-commit
sudo: false
addons:
apt:
packages:
- luarocks
cache:
timeout: 1000
directories:
- $HOME/.luarocks
before_install:
- luarocks install --local luacheck
- pip3 install pre-commit
script:
- pre-commit run --all-files
- $HOME/.luarocks/bin/luacheck .
notifications:
email: false