X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/d62e6773041490674e088d6b1611354c264020e7..bdbbf89c38126a71b17049469e8f976c571b9392:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 1585a64..7015a29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,43 @@ -language: c +language: python + +sudo: false + +env: + matrix: + - LUA="lua 5.1" SOCKET=true + - LUA="lua 5.1" + - LUA="lua 5.2" SOCKET=true + - LUA="lua 5.2" + - LUA="lua 5.3" SOCKET=true + - LUA="lua 5.3" + - LUA="luajit 2.0" + - LUA="luajit 2.1" SOCKET=true SYSCALL=true + - LUA="luajit 2.1" SYSCALL=true + - LUA="luajit 2.1" + - LUA="luajit @" before_install: - - sudo apt-get install luarocks -y - - sudo luarocks install busted + - pip install hererocks + - hererocks here -r^ --$LUA # Install latest LuaRocks version + # plus the Lua version for this build job + # into 'here' subdirectory + - export PATH=$PATH:$PWD/here/bin # Add directory with all installed binaries to PATH + - eval `luarocks path --bin` + - luarocks install luacov-coveralls + - luarocks install busted + +install: + - luarocks make + - if [ "$SOCKET" = "true" ]; then luarocks install luasocket; fi + - if [ "$SYSCALL" = "true" ]; then luarocks install ljsyscall; fi script: - - luarocks install --local luatz-scm-0.rockspec - - busted + - busted -c + +after_success: + - luacov-coveralls -v + +notifications: + email: + on_success: change + on_failure: always