Let Travis-CI automatically run luacheck on the game
[oweals/minetest_game.git] / .travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..805fe08
--- /dev/null
@@ -0,0 +1,14 @@
+language: generic
+
+branches:
+  only:
+    - master
+
+sudo: required
+
+before_install:
+  - sudo apt-get update
+  - sudo apt-get install -y luarocks
+  - sudo luarocks install luacheck
+
+script: luacheck --no-color ./mods