Travis CI: Use the bionic distribution

This commit is contained in:
Hugo Locurcio 2019-07-29 00:48:21 +02:00
parent 42c4c7ab04
commit f7a757c716
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

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