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 language: python
sudo: false
install: addons:
- sudo apt-get update -qq apt:
- sudo apt-get install -qqq luarocks packages:
- pip3 install pre-commit - luarocks
cache:
timeout: 1000
directories:
- $HOME/.luarocks
before_install:
- luarocks install --local luacheck - luarocks install --local luacheck
- pip3 install pre-commit
script: script:
- pre-commit run --all-files - pre-commit run --all-files
- $HOME/.luarocks/bin/luacheck . - $HOME/.luarocks/bin/luacheck .
notifications: notifications:
email: false email: false