version: 2.2.1.{build}-test shallow_clone: true environment: LUAROCKS_VER: 2.3.0 matrix: - LUA: "lua 5.1" - LUA: "lua 5.2" - LUA: "lua 5.3" - LUA: "luajit 2.0" - LUA: "luajit 2.1" init: # Setup Lua development/build environment # Make VS 2015 command line tools available - call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform% before_build: - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH - pip install hererocks - hererocks env --%LUA% -rlatest - call env\bin\activate build_script: - luarocks install busted 1> NUL 2> NUL test_script: - busted --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper appveyor after_test: - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32) - luarocks install luacov - pip install codecov - luacov -c test/luacov.config - cd test && codecov