X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/50504953faa5ac04a64ca72e8034f5aec3957dee..7d97ab04ead82d873242f80524c966b6bb46fee8:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 05bf340..7015a29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,35 @@ -language: c +language: python sudo: false env: - global: - - LUAROCKS=2.2.2 matrix: - - LUA=lua5.1 - - LUA=lua5.2 - - LUA=lua5.3 - - LUA=luajit2.0 - - LUA=luajit2.1 + - 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: - - source .travis/setenv_lua.sh + - 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: - busted -c