diff options
author | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2016-01-21 15:28:14 -0300 |
---|---|---|
committer | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2016-01-21 15:28:14 -0300 |
commit | 22d539e199507679d7cd40548d2b33eae10ac0b0 (patch) | |
tree | 425b6701cc340b098dcd648ef17362ecc562d030 /appveyor.yml | |
parent | 3674e4f52fdd5fda3fe8cdd153b7a8c93dfb8491 (diff) | |
download | luafilesystem-22d539e199507679d7cd40548d2b33eae10ac0b0.tar.gz luafilesystem-22d539e199507679d7cd40548d2b33eae10ac0b0.tar.bz2 luafilesystem-22d539e199507679d7cd40548d2b33eae10ac0b0.zip |
Adds AppVeyor integration
Diffstat (limited to '')
-rw-r--r-- | appveyor.yml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..a060db0 --- /dev/null +++ b/appveyor.yml | |||
@@ -0,0 +1,64 @@ | |||
1 | version: 0.0.1.{build}-test | ||
2 | |||
3 | # Use default image unless needed | ||
4 | #os: | ||
5 | #- Windows Server 2012 R2 | ||
6 | |||
7 | shallow_clone: true | ||
8 | |||
9 | environment: | ||
10 | LUAROCKS_VER: 2.3.0 | ||
11 | matrix: | ||
12 | - LUA_VER: 5.1.5 | ||
13 | - LUA_VER: 5.2.4 | ||
14 | NOCOMPAT: true | ||
15 | - LUA_VER: 5.3.2 # Lua 5.3.2 with compatibility flags disabled. | ||
16 | NOCOMPAT: true | ||
17 | - LJ_VER: 2.0.4 | ||
18 | - LJ_VER: 2.1 | ||
19 | |||
20 | matrix: | ||
21 | allow_failures: | ||
22 | - configuration: MinGW | ||
23 | platform: x64 | ||
24 | |||
25 | # Abuse this section so we can have a matrix with different Compiler versions | ||
26 | configuration: | ||
27 | - 2015 | ||
28 | - MinGW | ||
29 | |||
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 | |||
43 | install: | ||
44 | # Make compiler command line tools available | ||
45 | - call .appveyor\set_compiler_env.bat | ||
46 | # Setup Lua development/build environment | ||
47 | - call .appveyor\install.bat | ||
48 | |||
49 | before_build: | ||
50 | # @todo | ||
51 | - echo "Installing external deps" | ||
52 | |||
53 | build_script: | ||
54 | - luarocks make rockspecs/luafilesystem-cvs-3.rockspec | ||
55 | |||
56 | before_test: | ||
57 | |||
58 | test_script: | ||
59 | - echo "Testing..." | ||
60 | - cd %APPVEYOR_BUILD_FOLDER%\tests | ||
61 | - lua test.lua | ||
62 | |||
63 | after_test: | ||
64 | # @todo | ||