From 1607665a7bdddfd27d6abb783ceeb223284edca1 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 22 3月 2020 18:04:06 +0800 Subject: [PATCH] update analytics id --- .travis.yml | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index cac6349..e432aa0 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,15 @@ - libboost-system-dev - libboost-thread-dev - libboost-date-time-dev + - python3-pip + - python3-setuptools - doxygen - graphviz - script: - - make docs + before_script: + - pip3 install setuptools sphinx sphinx_rtd_theme breathe sphinx-markdown-tables recommonmark sphinx-rtd-theme sphinx-sitemap sphinxemoji + - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install .. + script: + - make documentation deploy: provider: pages skip_cleanup: true @@ -214,11 +221,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