From a1b64080d1525a7a65e53f33d1a3fd257957e732 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周日, 15 3月 2020 11:00:39 +0800
Subject: [PATCH] fix compilation errors

---
 .travis.yml |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index cac6349..eadfc70 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,8 @@
    - os: linux
      dist: bionic
      name: "Ubuntu 18.04 - Travis CI VM"
+     env:
+     - VIRTUAL_ENV=VM
      addons:
         apt:
           packages:
@@ -51,6 +53,8 @@
    - os: linux
      dist: bionic
      name: "Ubuntu 18.04 - Travis CI VM - Debug build"
+     env:
+     - VIRTUAL_ENV=VM
      addons:
         apt:
           packages:
@@ -72,7 +76,6 @@
      script: 
          - cmake --build . --target install
          - ctest
-         - ctest -T memcheck
      after_success:
          # Create lcov report
          - lcov --capture --directory . --output-file coverage.info
@@ -80,7 +83,6 @@
          - lcov --list coverage.info # debug info
          # Uploading report to CodeCov
          - bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
-                  
    - os: linux
      dist: bionic
      name: "CentOS-7 Docker"
@@ -110,7 +112,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 && VIRT_ENV=CONTAINER make test"
+            "cd /root/open-license-manager/build && make && make install && VIRTUAL_ENV=DOCKER make test"
    - os: linux
      dist: bionic
      name: "Ubuntu 18.04 - MinGW cross-compile for Windows x64"
@@ -203,10 +205,12 @@
              - libboost-system-dev
              - libboost-thread-dev
              - libboost-date-time-dev
+             - python3-pip
              - doxygen
              - graphviz
      script: 
-        - make docs
+        - pip3 install sphinx sphinx_rtd_theme breathe sphinx-markdown-tables recommonmark sphinx-rtd-theme
+        - make documentation
      deploy:
         provider: pages
         skip_cleanup: true
@@ -214,11 +218,11 @@
         keep_history: false
         verbose: true
         target_branch: "gh-pages"
-        local_dir: "build/html"
+        local_dir: "build/docs/sphinx"
         on:
             branch: develop
 env:
-    - CTEST_OUTPUT_ON_FAILURE=1      
+    - CTEST_OUTPUT_ON_FAILURE=1
 before_script:
     - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install ..
 

--
Gitblit v1.9.1