######################### # project configuration # ######################### # C++ project language: cpp dist: trusty sudo: required group: edge ################### # global settings # ################### env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key - secure: "m89SSgE+ASLO38rSKx7MTXK3n5NkP9bIx95jwY71YEiuFzib30PDJ/DifKnXxBjvy/AkCGztErQRk/8ZCvq+4HXozU2knEGnL/RUitvlwbhzfh2D4lmS3BvWBGS3N3NewoPBrRmdcvnT0xjOGXxtZaJ3P74TkB9GBnlz/HmKORA=" ################ # build matrix # ################ matrix: include: - os: linux compiler: clang env: COMPILER=clang++ addons: apt: packages: ['clang-3.4'] ################ # build script # ################ script: # make sure CXX is correctly set - if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi # show OS/compiler version - uname -a - $CXX --version # compile and execute unit tests - mkdir -p build && cd build - cmake .. && cmake --build . --config Release -- -j4 - ctest -C Release -V - cd ..