aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: c5e6a8ea4e95c8b2f3d18829e68f282db13e5ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
os: linux
language: python
python: "3.7"
dist: bionic

addons:
  apt:
    sources:
      - sourceline: "ppa:ubuntu-toolchain-r/test"
    packages: ['g++-9']
    packages: lcov

compiler:
  - gcc

env:
  - CXX=g++-9

cache:
  directories:
    - $HOME/.conan/data

install:
  - pip install conan
  - conan user

script:
  - mkdir -p build
  - cd build
  - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=YES -DRUN_TESTS_AFTER_BUILD=YES -DENABLE_CODE_COVERAGE=YES -DPRINT_COVERAGE_REPORT=YES .. 
  - cmake --build . --target all
  - ctest