| | |
| | | - libboost-date-time-dev |
| | | script: |
| | | - cmake --build . --target install |
| | | - src/inspector/lccinspector |
| | | - ctest -T memcheck |
| | | - ctest -T memcheck |
| | | - os: linux |
| | | dist: bionic |
| | | name: "Ubuntu 18.04 - VM - set LCC_PROJECT_NAME" |
| | | env: |
| | | - VIRTUAL_ENV=VM |
| | | - CTEST_OUTPUT_ON_FAILURE=1 |
| | | addons: |
| | | apt: |
| | | packages: |
| | | - cmake |
| | | - valgrind |
| | | - 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: |
| | | - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=Debug -DCODE_COVERAGE=ON -DLCC_PROJECT_NAME=MYPROJECT .. |
| | | script: |
| | | - cmake --build . --target install |
| | | - ctest -T memcheck |
| | | - os: linux |
| | | dist: xenial |
| | | name: "Ubuntu 16.04 - Travis CI VM" |
| | |
| | | ostringstream oss; |
| | | oss << toupper_copy(trim_copy(m_project)); |
| | | for (auto &it : m_limits) { |
| | | if (it.first != LICENSE_VERSION && it.first != LICENSE_SIGNATURE) { |
| | | if (it.first != LICENSE_SIGNATURE) { |
| | | oss << trim_copy(it.first) << trim_copy(it.second); |
| | | } |
| | | } |
| | |
| | | cout << "executing :" << ss.str() << endl; |
| | | const int retCode = std::system(ss.str().c_str()); |
| | | BOOST_CHECK_EQUAL(retCode, 0); |
| | | BOOST_ASSERT(fs::exists(license_fname)); |
| | | BOOST_ASSERT_MSG(fs::exists(license_fname), "license exists"); |
| | | CSimpleIniA ini; |
| | | const SI_Error rc = ini.LoadFile(license_fname.c_str()); |
| | | BOOST_CHECK_GE(rc, 0); |