2019-07-29 00:48:21 +02:00
|
|
|
dist: bionic
|
|
|
|
language: python
|
2019-03-06 10:28:32 +01:00
|
|
|
|
2019-07-29 00:48:21 +02:00
|
|
|
python:
|
|
|
|
- 3.7.1
|
2019-03-06 10:28:32 +01:00
|
|
|
|
|
|
|
install:
|
2019-07-29 00:48:21 +02:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qqq luarocks
|
|
|
|
- pip3 install pre-commit
|
2019-03-06 10:28:32 +01:00
|
|
|
- luarocks install --local luacheck
|
|
|
|
|
|
|
|
script:
|
2019-04-01 11:02:31 +02:00
|
|
|
# All linters are run with pre-commit hooks
|
2019-04-01 11:42:13 +02:00
|
|
|
- export PATH="$HOME/.luarocks/bin:$PATH"
|
2019-07-29 00:48:21 +02:00
|
|
|
- pre-commit run --all-files
|