summaryrefslogtreecommitdiff
path: root/libs/cargs/.travis.yml
blob: 31f1511f45cc7a3ce49a48b20a7bfcd609340a54 (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
language: c

os:
- linux
- osx
- freebsd

dist: focal

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - gcc-7
    - cmake

compiler:
- gcc
- clang

before_script:
- mkdir build
- cd build
- cmake -DENABLE_TESTS=1 -DENABLE_COVERAGE=1 ..

script:
 - make
 - make test

after_success:
- bash <(curl -s https://codecov.io/bash)