aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Fred <JeanFred@github>2015-02-14 21:19:24 +0000
committerJean-Fred <JeanFred@github>2015-02-14 21:30:50 +0000
commit0c2bec539253a745ad821711be893c62b6a0ef03 (patch)
tree9693992b59b98193228397e9afb2342a91952edb
parent036ad72a2fec849a7a1b8674b21c17766da3d59c (diff)
downloadLrMediaWiki-0c2bec539253a745ad821711be893c62b6a0ef03.tar.gz
LrMediaWiki-0c2bec539253a745ad821711be893c62b6a0ef03.tar.bz2
Add syntax check for Lua files with Travis-CI
This adds a Travis-CI build which will run luac on the Lua files. luac will try to parse the Lua files and report syntax errors.
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6702dc5
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,7 @@
+language: c
+
+install:
+ - sudo apt-get install lua5.2
+
+script:
+ - luac -p mediawiki.lrdevplugin/*.lua