Use travis' container-based infrastructure (#1314)
authorsfan5 <sfan5@live.de>
Thu, 24 Nov 2016 06:00:35 +0000 (07:00 +0100)
committerAuke Kok <sofar+github@foo-projects.org>
Thu, 24 Nov 2016 06:00:35 +0000 (22:00 -0800)
Use travis' container-based infrastructure (no sudo)

.travis.yml

index 805fe08c750c60717dfbf03d2a17a3a62299cced..5253938abf154e716b0ab1c8d5041530b9d80295 100644 (file)
@@ -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