]> git.ipfire.org Git - people/ms/strongswan.git/blobdiff - .travis.yml
test-vectors: Add a Curve25519 DH test vector
[people/ms/strongswan.git] / .travis.yml
index 697425f57ab3248c49a4928397daec217bbe5456..8719563988238d7740b695605adbf02ec9d00fb6 100644 (file)
@@ -1,16 +1,20 @@
 language: c
 
+sudo: required
+dist: trusty
+
 compiler:
   - gcc
   - clang
 
 before_install:
-  - sudo apt-get update -qq
-  - sudo apt-get install -qq bison flex gperf gettext
   - ./scripts/test.sh deps
+  - ./scripts/test.sh pydeps
+
+before_script:
+  - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
 
 script:
-  - ./autogen.sh
   - ./scripts/test.sh
 
 env:
@@ -24,8 +28,8 @@ env:
     - TEST=default LEAK_DETECTIVE=yes
     - TEST=openssl
     - TEST=openssl LEAK_DETECTIVE=yes
-    # libgcrypt can't be deinitialized so we can't test it with leak detective
     - TEST=gcrypt
+    - TEST=gcrypt LEAK_DETECTIVE=yes
     # we can't test Vstr as negative int args are not properly passed to CBs
     - TEST=printf-builtin
     - TEST=printf-builtin LEAK_DETECTIVE=yes
@@ -38,4 +42,15 @@ matrix:
     - compiler: gcc
       env: TEST=dist
     - compiler: gcc
-      env: TEST=win MONOLITHIC=yes
+      env: TEST=apidoc
+    - compiler: gcc
+      env: TEST=win64 MONOLITHIC=yes
+    # this does not work on 14.04 due to a missing @4 decoration for
+    # TryAcquireSRWLockExclusive in MinGW 3.1.0
+    - compiler: gcc
+      env: TEST=win32 MONOLITHIC=yes
+      dist: precise
+    - compiler: clang
+      os: osx
+      osx_image: xcode7
+      env: TEST=osx