aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2016-01-31 15:26:07 +0100
committerRobin Krahl <me@robin-krahl.de>2016-01-31 15:26:07 +0100
commit0ec6089e5aa521ffd78c8f73426918d8e610b293 (patch)
tree6fb5e9d818375cbc3f734e02e2d700c4fa8c1f4e
parent3e918beb1556f09c8378298a83f49765d40d3265 (diff)
downloadLrMediaWiki-0ec6089e5aa521ffd78c8f73426918d8e610b293.tar.gz
LrMediaWiki-0ec6089e5aa521ffd78c8f73426918d8e610b293.tar.bz2
Fix lua and luacheck installation in .travis.yml.
-rw-r--r--.travis.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index fe5fd93..dbbeb34 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,13 @@
language: c
+sudo: false
+cache:
+ directories: here
install:
- - sudo apt-get install lua5.1 luarocks
- - sudo luarocks install luacheck
+ - wget https://raw.githubusercontent.com/mpeterv/hererocks/0.3.1/hererocks.py
+ - python hererocks.py here --lua 5.1 -r https://github.com/mpeterv/luarocks@upgrade-install
+ - export PATH=$PATH:$PWD/here/bin
+ - luarocks install luacheck --upgrade --upgrade-deps
script:
- luac -p mediawiki.lrdevplugin/*.lua