From 0ec6089e5aa521ffd78c8f73426918d8e610b293 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 31 Jan 2016 15:26:07 +0100 Subject: Fix lua and luacheck installation in .travis.yml. --- .travis.yml | 9 +++++++-- 1 file 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 -- cgit v1.2.3