22 lines
713 B
YAML
22 lines
713 B
YAML
|
# This is a sample build configuration for C++.
|
||
|
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
|
||
|
# Only use spaces to indent your .yml configuration.
|
||
|
# -----
|
||
|
# You can specify a custom docker image from Docker Hub as your build environment.
|
||
|
image: ubuntu:xenial
|
||
|
|
||
|
pipelines:
|
||
|
default:
|
||
|
- step:
|
||
|
script: # Modify the commands below to build your repository.
|
||
|
- apt-get update
|
||
|
- apt-get -y install cmake build-essential lcov curl mercurial
|
||
|
- mkdir build
|
||
|
- cd build
|
||
|
- cmake .. -DCMAKE_BUILD_TYPE=coverage
|
||
|
- make
|
||
|
- make test
|
||
|
- make coverage
|
||
|
- bash <(curl -s https://codecov.io/bash)
|
||
|
|