diff --git a/.travis.yml b/.travis.yml index a032acb743010515eb494783a2b55dde6a31f928..32a776a0092a65e97e27859bb7a5952e2198a1eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,16 @@ -language: generic +dist: bionic +language: python -addons: - apt: - packages: - - luarocks +python: + - 3.7.1 install: - - pyenv global 3.6.3 - - pip3 install --user pre-commit + - sudo apt-get update -qq + - sudo apt-get install -qqq luarocks + - pip3 install pre-commit - luarocks install --local luacheck script: # All linters are run with pre-commit hooks - export PATH="$HOME/.luarocks/bin:$PATH" - - $HOME/.local/bin/pre-commit run --all-files + - pre-commit run --all-files