26 lines
331 B
YAML
26 lines
331 B
YAML
dist: bionic
|
|
language: c
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
|
|
script:
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make
|
|
make test
|
|
cd ..
|
|
mkdir coverage
|
|
cd coverage
|
|
cmake .. -DCOVERALL=ON -DCMAKE_BUILD_TYPE=Debug
|
|
cmake --build .
|
|
cmake --build . --target coveralls
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash) |