diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2016-05-02 14:27:22 +0300 |
---|---|---|
committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-05-03 20:26:06 +0300 |
commit | 1146cc2b33e06276583e9cd4063916d8a2fda6cd (patch) | |
tree | 42b66af8844973bb66769705a25ca00b5af47360 /appveyor.yml | |
parent | a9a95acd68fcf1e4eb58805e90d62beeb5fbb34c (diff) | |
download | luafilesystem-1146cc2b33e06276583e9cd4063916d8a2fda6cd.tar.gz luafilesystem-1146cc2b33e06276583e9cd4063916d8a2fda6cd.tar.bz2 luafilesystem-1146cc2b33e06276583e9cd4063916d8a2fda6cd.zip |
Use hererocks for Appveyor
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 46 |
1 files changed, 12 insertions, 34 deletions
diff --git a/appveyor.yml b/appveyor.yml index a060db0..29e6442 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -7,44 +7,23 @@ version: 0.0.1.{build}-test | |||
7 | shallow_clone: true | 7 | shallow_clone: true |
8 | 8 | ||
9 | environment: | 9 | environment: |
10 | LUAROCKS_VER: 2.3.0 | ||
11 | matrix: | 10 | matrix: |
12 | - LUA_VER: 5.1.5 | 11 | - LUA: "lua 5.1" |
13 | - LUA_VER: 5.2.4 | 12 | - LUA: "lua 5.2 --compat none" |
14 | NOCOMPAT: true | 13 | - LUA: "lua 5.3 --compat none" |
15 | - LUA_VER: 5.3.2 # Lua 5.3.2 with compatibility flags disabled. | 14 | - LUA: "luajit 2.0" |
16 | NOCOMPAT: true | 15 | - LUA: "luajit 2.1" |
17 | - LJ_VER: 2.0.4 | ||
18 | - LJ_VER: 2.1 | ||
19 | |||
20 | matrix: | ||
21 | allow_failures: | ||
22 | - configuration: MinGW | ||
23 | platform: x64 | ||
24 | 16 | ||
25 | # Abuse this section so we can have a matrix with different Compiler versions | 17 | # Abuse this section so we can have a matrix with different Compiler versions |
26 | configuration: | 18 | configuration: |
27 | - 2015 | 19 | - mingw |
28 | - MinGW | 20 | - vs_32 |
29 | 21 | - vs_64 | |
30 | platform: | ||
31 | - x86 | ||
32 | - x64 | ||
33 | |||
34 | cache: | ||
35 | - c:\lua -> appveyor.yml | ||
36 | - c:\external -> appveyor.yml | ||
37 | |||
38 | # Skip unsupported combinations (ie, VS2008 for x64 is not supported) | ||
39 | init: | ||
40 | - if "%platform%" EQU "x64" ( for %%a in (2008 2010 MinGW) do ( if "%Configuration%"=="%%a" (echo "Skipping unsupported configuration" && exit /b 1 ) ) ) | ||
41 | |||
42 | 22 | ||
43 | install: | 23 | install: |
44 | # Make compiler command line tools available | 24 | - set PATH=%CD%\env\bin;C:\Python27\Scripts;C:\MinGW\bin;%PATH% |
45 | - call .appveyor\set_compiler_env.bat | 25 | - pip install hererocks |
46 | # Setup Lua development/build environment | 26 | - hererocks env --%LUA% --target %configuration% --luarocks latest |
47 | - call .appveyor\install.bat | ||
48 | 27 | ||
49 | before_build: | 28 | before_build: |
50 | # @todo | 29 | # @todo |
@@ -57,8 +36,7 @@ before_test: | |||
57 | 36 | ||
58 | test_script: | 37 | test_script: |
59 | - echo "Testing..." | 38 | - echo "Testing..." |
60 | - cd %APPVEYOR_BUILD_FOLDER%\tests | 39 | - lua tests/test.lua |
61 | - lua test.lua | ||
62 | 40 | ||
63 | after_test: | 41 | after_test: |
64 | # @todo | 42 | # @todo |