From a0d3b0451e2cb8beafe343c067d0ebcc94049f29 Mon Sep 17 00:00:00 2001 From: Louis <55180044+louisroyer@users.noreply.github.com> Date: Thu, 9 Jul 2020 13:28:19 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 980bbbd..860a5b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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