From 1903516aab51ec904aaa07ad175be397c5012558 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 22 Feb 2019 01:37:49 +0100 Subject: [PATCH] Set up Travis CI --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..67166d8 --- /dev/null +++ b/.travis.yml @@ -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" .