From b6e846732511aee2bfa11785681b4bc511e1d251 Mon Sep 17 00:00:00 2001
From: Arnaud Botella <arnaud.botella@geode-solutions.com>
Date: 周三, 29 4月 2020 23:12:43 +0800
Subject: [PATCH] Fix #85 (#86)

---
 .travis.yml |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ef5ebe0..c2099b6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,6 +13,7 @@
      name: "Ubuntu 18.04 - Travis CI VM"
      env:
      - VIRTUAL_ENV=VM
+     - CTEST_OUTPUT_ON_FAILURE=1
      addons:
         apt:
           packages:
@@ -30,7 +31,7 @@
              - libboost-date-time-dev
      script: 
          - cmake --build . --target install
-         - ctest
+         - src/inspector/lccinspector
          - ctest -T memcheck        
    - os: linux
      dist: xenial
@@ -55,6 +56,7 @@
      name: "Ubuntu 18.04 - Travis CI VM - Debug build"
      env:
      - VIRTUAL_ENV=VM
+     - CTEST_OUTPUT_ON_FAILURE=1
      addons:
         apt:
           packages:
@@ -75,6 +77,7 @@
          - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=Debug -DCODE_COVERAGE=ON ..
      script: 
          - cmake --build . --target install
+         - src/inspector/lccinspector
          - ctest
      after_success:
          # Create lcov report
@@ -96,7 +99,7 @@
         - docker commit centos7_toconfigure centos7_configured
      script: 
         - docker run --name centos7_make -v `pwd`:/root/open-license-manager centos7_configured /bin/bash -c 
-            "cd /root/open-license-manager/build && make && make install && VIRT_ENV=CONTAINER make test"
+            "cd /root/open-license-manager/build && make && make install && VIRTUAL_ENV=CONTAINER make test"
    - os: linux
      dist: bionic
      name: "CentOS-8 Docker"
@@ -112,7 +115,7 @@
         - docker commit centos8_toconfigure centos8_configured
      script: 
         - docker run --name centos8_make -v `pwd`:/root/open-license-manager centos8_configured /bin/bash -c \
-            "cd /root/open-license-manager/build && make && make install && VIRTUAL_ENV=DOCKER make test"
+            "cd /root/open-license-manager/build && make && make install && src/inspector/lccinspector && VIRTUAL_ENV=DOCKER make test"
    - os: linux
      dist: bionic
      name: "Ubuntu 18.04 - MinGW cross-compile for Windows x64"

--
Gitblit v1.9.1