From: sfan5 Date: Thu, 24 Nov 2016 06:00:35 +0000 (+0100) Subject: Use travis' container-based infrastructure (#1314) X-Git-Tag: 0.4.15~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b0ae48827736eff32f140e327b404cd8ac00b2c9;p=oweals%2Fminetest_game.git Use travis' container-based infrastructure (#1314) Use travis' container-based infrastructure (no sudo) --- diff --git a/.travis.yml b/.travis.yml index 805fe08c..5253938a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,12 @@ language: generic - -branches: - only: - - master - -sudo: required - +sudo: false +addons: + apt: + packages: + - luarocks before_install: - - sudo apt-get update - - sudo apt-get install -y luarocks - - sudo luarocks install luacheck - -script: luacheck --no-color ./mods + - luarocks install --local luacheck +script: +- $HOME/.luarocks/bin/luacheck --no-color ./mods +notifications: + email: false