X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/d62e6773041490674e088d6b1611354c264020e7..50504953faa5ac04a64ca72e8034f5aec3957dee:/.travis.yml?ds=sidebyside diff --git a/.travis.yml b/.travis.yml index 1585a64..05bf340 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,32 @@ language: c +sudo: false + +env: + global: + - LUAROCKS=2.2.2 + matrix: + - LUA=lua5.1 + - LUA=lua5.2 + - LUA=lua5.3 + - LUA=luajit2.0 + - LUA=luajit2.1 + before_install: - - sudo apt-get install luarocks -y - - sudo luarocks install busted + - source .travis/setenv_lua.sh + - luarocks install luacov-coveralls + - luarocks install busted + +install: + - luarocks make script: - - luarocks install --local luatz-scm-0.rockspec - - busted + - busted -c + +after_success: + - luacov-coveralls -v + +notifications: + email: + on_success: change + on_failure: always