File: appveyor.yml

package info (click to toggle)
luarocks 2.4.2+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,056 kB
  • ctags: 607
  • sloc: sh: 523; makefile: 181; ansic: 5
file content (55 lines) | stat: -rw-r--r-- 1,301 bytes parent folder | download
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: 2.4.2.{build}-test

shallow_clone: true

environment:
  LUAROCKS_VER: 2.4.2

  matrix:
  - LUA: "lua 5.1"
    COMPILER: "vs"
  - LUA: "lua 5.1"
    COMPILER: "mingw"
  - LUA: "lua 5.2"
    COMPILER: "vs"
  - LUA: "lua 5.2"
    COMPILER: "mingw"
  - LUA: "lua 5.3"
    COMPILER: "vs"
  - LUA: "lua 5.3"
    COMPILER: "mingw"
  - LUA: "luajit 2.0"
    COMPILER: "vs"
  - LUA: "luajit 2.0"
    COMPILER: "mingw"
  - LUA: "luajit 2.1"
    COMPILER: "vs"
  - LUA: "luajit 2.1"
    COMPILER: "mingw"


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%
# Add MinGW compiler to the path
- set PATH=C:\MinGW\bin;%PATH%

before_build:
  - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH
  - pip install hererocks
  - hererocks env --%LUA% -rlatest --target=%COMPILER%
  - 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,%COMPILER%

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