Set up Travis CI

This commit is contained in:
Hugo Locurcio 2019-02-22 01:37:49 +01:00
parent 8730c50a75
commit 1903516aab
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 15 additions and 0 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
language: generic
addons:
apt:
packages:
- luarocks
before_install: |
pyenv global 3.6.3
pip3 install --user pre-commit
luarocks install --local luacheck
script: |
"$HOME/.local/bin/pre-commit" run --all-files
"$HOME/.luarocks/bin/luacheck" .