unit-tests: Ignore binaries of renamed test runners
[strongswan.git] / .travis.yml
index 04838e8..a17f242 100644 (file)
@@ -1,5 +1,8 @@
 language: c
 
+sudo: required
+dist: trusty
+
 compiler:
   - gcc
   - clang
@@ -9,11 +12,19 @@ before_install:
   - ./scripts/test.sh pydeps
 
 before_script:
-  - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
+  - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
 
 script:
   - ./scripts/test.sh
 
+after_success:
+  if [ "$TEST" == "coverage" ]; then
+    bash <(curl -s https://codecov.io/bash);
+  fi
+
+after_failure:
+  - cat config.log
+
 env:
   global:
     - TESTS_REDUCED_KEYLENGTHS=yes
@@ -39,9 +50,18 @@ matrix:
     - compiler: gcc
       env: TEST=dist
     - compiler: gcc
+      env: TEST=apidoc
+    - compiler: gcc
+      env: TEST=coverage
+    - 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
+      env: TEST=fuzzing MONOLITHIC=yes
     - compiler: clang
       os: osx
       env: TEST=osx