blob: 66a128960e530f6bb619fd313f412d696f3bf9d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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
|