From 3d1d3e228499a63176da793273cac03adfcffd91 Mon Sep 17 00:00:00 2001 From: Craig Davison Date: Sat, 12 Dec 2015 13:14:20 +0000 Subject: [PATCH] Update tests --- .travis.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2fa2ca8..6e09bc6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,25 @@ before_install: - - rvm get stable - - rvm install ruby 2.2.3 - + # Unfortunately there's no other way to install a recent luarocks release + - cd ../ + - wget https://keplerproject.github.io/luarocks/releases/luarocks-2.2.2.tar.gz -O luarocks-2.2.2.tar.gz + - tar -xvf luarocks-2.2.2.tar.gz + - cd luarocks-2.2.2 + - ./configure + - make build + - sudo make install + - cd ../colouredstonebricks install: - - gem install awesome_bot + - sudo luarocks install luacheck script: - # Check for link problems - - awesome_bot README.md --allow-dupe + # Run luacheck and always return 0 for warnings + - luacheck . || true + +addons: + apt: + packages: + - lua5.2 + - liblua5.2-dev notifications: email: false