File: .travis.yml

package info (click to toggle)
libpog 0.5.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,644 kB
  • sloc: cpp: 51,038; ansic: 239; makefile: 14; python: 11; sh: 11
file content (32 lines) | stat: -rw-r--r-- 863 bytes parent folder | download
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
language: cpp

matrix:
  include:
    - os: linux
      dist: bionic
      install: sudo apt-get install -y lcov libfmt-dev libre2-dev tree
      after_success:
        - cd build && rm -rf *
        - cmake -DCMAKE_BUILD_TYPE=Debug -DPOG_TESTS=ON -DPOG_COVERAGE=ON ..
        - cmake --build . -- -j
        - cd .. && ./coverage.sh
        - bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
    - os: osx
      osx_image: xcode11
      install: brew install fmt re2 tree

script:
  - mkdir build && cd build
  - cmake -DCMAKE_BUILD_TYPE=Release -DPOG_TESTS=ON -DPOG_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=../install ..
  - cmake --build . --target install -- -j
  - ./tests/pog_tests
  - tree ../install

branches:
  only:
    - master
    - /^v?\d+\.\d+.*$/

notifications:
  email:
    on_success: never