aboutsummaryrefslogtreecommitdiffstats
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-07-19 12:34:35 +0200
committerTobias Brunner <tobias@strongswan.org>2017-07-28 11:18:17 +0200
commit6eb7dd11ecf6c713f9d31bf3799635475bd77ecf (patch)
treea6945362d1f4729dbd295b511191fc08defc26d8 /.appveyor.yml
parent8d4ebb3ac421d415c140537265666d76f9d4f6d1 (diff)
downloadstrongswan-6eb7dd11ecf6c713f9d31bf3799635475bd77ecf.tar.bz2
strongswan-6eb7dd11ecf6c713f9d31bf3799635475bd77ecf.tar.xz
appveyor: Run tests on AppVeyor Windows containers
We can't enable leak detective as it is so slow then that we run into a timeout (60 minutes).
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 000000000..941f4c205
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,25 @@
+clone_depth: 50
+
+environment:
+ global:
+ TESTS_REDUCED_KEYLENGTHS: yes
+ LEAK_DETECTIVE: no
+ MONOLITHIC: yes
+ TZ: Europe/Zurich
+ matrix:
+ - arch: x86_64
+ bits: 64
+ # no 32-bit build as 32-bit msys is not installed
+ #- arch: i686
+ # bits: 32
+
+install:
+ - set MSYS_SH=C:\msys%BITS%\usr\bin\sh.exe
+ - set MSYSTEM=MINGW%BITS%
+ - set TEST=win%BITS%
+
+build_script:
+ - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh deps"'
+
+test_script:
+ - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh"'