Skip to content

Commit

Permalink
test on ubuntu 20.04 install libs
Browse files Browse the repository at this point in the history
  • Loading branch information
gcontini committed May 20, 2021
1 parent ea4d5c4 commit fd34cba
Showing 1 changed file with 9 additions and 24 deletions.
33 changes: 9 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
include:
- os: linux
dist: bionic
name: "Ubuntu 18.04 - Travis CI VM"
name: "Travis CI VM"
env:
- VIRTUAL_ENV=VM
- CTEST_OUTPUT_ON_FAILURE=1
Expand All @@ -34,28 +34,13 @@ jobs:
- ctest -T memcheck
- os: linux
dist: focal
name: "Ubuntu 20.04 - Travis CI VM - Debug"
name: "Travis CI VM - Debug"
env:
- VIRTUAL_ENV=VM
- CTEST_OUTPUT_ON_FAILURE=1
addons:
apt:
update: true
packages:
- cmake
- valgrind
- libc6-dbg
- libssl-dev
- zlib1g-dev
- libboost-dev
- libboost-test-dev
- libboost-filesystem-dev
- libboost-iostreams-dev
- libboost-program-options-dev
- libboost-system-dev
- libboost-thread-dev
- libboost-date-time-dev
before_script:
- apt-get update
- apt-get install -y cmake valgrind libssl-dev zlib1g-dev libboost-dev libboost-test-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev libboost-date-time-dev
- cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install -DCMAKE_BUILD_TYPE=Debug -DCODE_COVERAGE=ON -DLCC_PROJECT_NAME=MYPROJECT ..
script:
- cat /proc/mounts
Expand All @@ -67,7 +52,7 @@ jobs:
- ctest -T memcheck; cat /tmp/open-license.log
- os: linux
dist: bionic
name: "Ubuntu 18.04 - VM - set LCC_PROJECT_NAME"
name: "VM - set LCC_PROJECT_NAME"
env:
- VIRTUAL_ENV=VM
- CTEST_OUTPUT_ON_FAILURE=1
Expand All @@ -87,15 +72,15 @@ jobs:
- 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 ..
- 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
- os: linux
dist: xenial
env:
- CTEST_OUTPUT_ON_FAILURE=1
name: "Ubuntu 16.04 - Travis CI VM"
name: "Travis CI VM"
addons:
apt:
packages:
Expand All @@ -113,7 +98,7 @@ jobs:
- libboost-date-time-dev
- os: linux
dist: bionic
name: "Ubuntu 18.04 - Travis CI VM - Debug build"
name: "Travis CI VM - Debug build"
env:
- VIRTUAL_ENV=VM
- CTEST_OUTPUT_ON_FAILURE=1
Expand Down Expand Up @@ -178,7 +163,7 @@ jobs:
"cd /root/open-license-manager/build && make && make install && src/inspector/lccinspector && CTEST_OUTPUT_ON_FAILURE=1 VIRTUAL_ENV=DOCKER make test"
- os: linux
dist: focal
name: "Ubuntu 20.04 - MinGW cross-compile for Windows x64"
name: "MinGW cross-compile for Windows x64"
env:
- CTEST_OUTPUT_ON_FAILURE=1
- WINEARCH=win64
Expand Down

0 comments on commit fd34cba

Please sign in to comment.