aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: ddd651c98c645896b5c300857955a0b28bbe8d98 (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
39
40
41
version: 0.0.1.{build}-test

# Use default image unless needed
#os:
#- Windows Server 2012 R2

shallow_clone: true

environment:
  matrix:
  - LUA: "lua 5.1"
  - LUA: "lua 5.2 --compat none"
  - LUA: "lua 5.3 --compat none"
  - LUA: "luajit 2.1"

# Abuse this section so we can have a matrix with different Compiler versions
configuration:
  - mingw
  - vs_32
  - vs_64

install:
  - set PATH=%CD%\env\bin;C:\Python27\Scripts;C:\MinGW\bin;%PATH%
  - pip install hererocks
  - hererocks env --%LUA% --target %configuration% --luarocks latest

before_build:
# @todo
- echo "Installing external deps"

build_script:
- luarocks make

before_test:

test_script:
- echo "Testing..."
- lua tests/test.lua

after_test:
# @todo