appveyor: Create dummy strongswan.conf file to avoid log messages
[strongswan.git] / .appveyor.yml
1 clone_depth: 50
2
3 image:
4   - Visual Studio 2015
5   - Visual Studio 2017
6   - Visual Studio 2019
7
8 environment:
9   global:
10     TESTS_REDUCED_KEYLENGTHS: yes
11     LEAK_DETECTIVE: no
12     MONOLITHIC: yes
13     TZ: Europe/Zurich
14   matrix:
15     - arch: x86_64
16       bits: 64
17     # no 32-bit build as 32-bit msys is not installed
18     #- arch: i686
19     #  bits: 32
20
21 install:
22   - set MSYS_SH=C:\msys%BITS%\usr\bin\sh.exe
23   - set MSYSTEM=MINGW%BITS%
24   - set TEST=win%BITS%
25   - |
26       set IMG=%APPVEYOR_BUILD_WORKER_IMAGE:~-4%
27       set OPENSSL=OpenSSL
28       IF "%IMG%" == "2017" set OPENSSL=OpenSSL-v11
29       IF "%IMG%" == "2019" set OPENSSL=OpenSSL-v111
30       set OPENSSL_DIR=/c/%OPENSSL%-%TEST%
31       C:\%OPENSSL%-%TEST%\bin\openssl.exe version -a
32
33 build_script:
34   - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh deps"'
35
36 test_script:
37   - '%MSYS_SH% --login -c ". /etc/profile && touch /$MSYSTEM/etc/strongswan.conf"'
38   - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh"'