From 29920ff91e070a1067b86c3d8fa6483480115be3 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周二, 13 10月 2020 22:04:01 +0800
Subject: [PATCH] fix build ubuntu 20.04

---
 .travis.yml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8b22992..6c0f6d6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,11 +53,13 @@
              - libboost-system-dev
              - libboost-thread-dev
              - libboost-date-time-dev
+     before_script:
+         - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install -DCMAKE_BUILD_TYPE=Debug -DCODE_COVERAGE=ON -DLCC_PROJECT_NAME=MYPROJECT ..
      script: 
          - cat /proc/mounts
          - cat /proc/filesystems
          - ls /dev/disk/by-uuid
-         - cmake --build . --target install -DCMAKE_BUILD_TYPE=DEBUG
+         - cmake --build . --target install
          - ctest -T memcheck; cat /tmp/open-license.log
    - os: linux
      dist: bionic
@@ -81,7 +83,7 @@
              - libboost-thread-dev
              - libboost-date-time-dev
      before_script:
-         - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=Debug -DCODE_COVERAGE=ON -DLCC_PROJECT_NAME=MYPROJECT ..
+         - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install -DCMAKE_BUILD_TYPE=Debug DCODE_COVERAGE=ON -DLCC_PROJECT_NAME=MYPROJECT ..
      script: 
          - cmake --build . --target install
          - ctest -T memcheck    

--
Gitblit v1.9.1