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
1 changed files with 8 additions and 8 deletions

View File

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