pxmlw6n2f/ign-math/bitbucket-pipelines.yml

22 lines
713 B
YAML
Raw Normal View History

2019-05-28 08:28:29 +08:00
# 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)