From 11a0f65bae425baf09508e2d57c830f5cad69df5 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 14 12月 2019 09:42:26 +0800
Subject: [PATCH] cleanup and change license generation parameters

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

diff --git a/.travis.yml b/.travis.yml
index 52c80db..925d1cc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -92,6 +92,22 @@
             "cd /root/open-license-manager/build && make && make install && VIRT_ENV=CONTAINER make test"
    - os: linux
      dist: bionic
+     name: "CentOS-8 Docker"
+     before_script: 
+        - docker run --name centos8_toconfigure -v `pwd`:/root/open-license-manager centos:centos8 /bin/bash -c \
+            "yum -y update && yum -y groupinstall 'Development Tools' && 
+             yum -y install wget cmake boost boost-devel openssl-devel zlib-devel && 
+             dnf -y --enablerepo=PowerTools install boost-static && 
+             wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_1d.tar.gz && 
+             tar xzf OpenSSL_1_1_1d.tar.gz && cd openssl-OpenSSL_1_1_1d && 
+             ./config && make -j 8 && make install && 
+             cd /root/lcc-license-manager/build && cmake .."
+        - 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"
+   - os: linux
+     dist: bionic
      name: "Ubuntu 18.04 - MinGW cross-compile for Windows x64"
      env:
         - CTEST_OUTPUT_ON_FAILURE=1      

--
Gitblit v1.9.1