From 1cc77a5fe531b81e3bc03614fa8f6d73b6c6230a Mon Sep 17 00:00:00 2001
From: Niels <niels.lohmann@gmail.com>
Date: Sun, 29 May 2016 12:15:13 +0200
Subject: [PATCH] another try for coverity-scan

---
 .travis.yml | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e7ae4444c..9ff83b5a2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,15 +27,6 @@ matrix:
         - ./json_unit "*"
         - coveralls --exclude test/src/catch.hpp --exclude test/src/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9'
       env: COMPILER=g++-4.9
-      addons:
-        coverity_scan:
-          project:
-            name: "nlohmann/json"
-            description: "Build submitted via Travis CI"
-          notification_email: niels.lohmann@gmail.com
-          build_command_prepend: "make clean"
-          build_command: "make doctest"
-          branch_pattern: coverity_scan
 
     - os: linux
       compiler: gcc
@@ -131,3 +122,13 @@ script:
   - if [ `which valgrind` ]; then
     valgrind --error-exitcode=1 --leak-check=full ./json_unit ;
     fi
+
+addons:
+  coverity_scan:
+    project:
+      name: "nlohmann/json"
+      description: "Build submitted via Travis CI"
+    notification_email: niels.lohmann@gmail.com
+    build_command_prepend: "make clean"
+    build_command: "make doctest"
+    branch_pattern: coverity_scan
-- 
2.26.2