From fc8f4533fa75937fd41546ebcda16d23a89bf736 Mon Sep 17 00:00:00 2001 From: theFox6 Date: Fri, 13 Apr 2018 18:54:22 +0200 Subject: [PATCH] added controlling files for travis ci --- .luacheckrc | 7 +++++++ .travis.yml | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .luacheckrc create mode 100644 .travis.yml diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..81e1561 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,7 @@ +allow_defined_top = true + +read_globals = { + "minetest", + "dump", "vector", + "VoxelManip", "VoxelArea", +} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f254a63 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: generic +sudo: false +addons: + apt: + packages: + - luarocks +before_install: + - luarocks install --local luacheck +script: +- $HOME/.luarocks/bin/luacheck --no-color . +notifications: +email: false \ No newline at end of file