-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwercker.yml
More file actions
50 lines (44 loc) · 1.28 KB
/
wercker.yml
File metadata and controls
50 lines (44 loc) · 1.28 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This references a standard debian container from the
# Docker Hub https://registry.hub.docker.com/_/debian/
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box:
id: stoom/ubuntu
# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# http://devcenter.wercker.com/docs/pipelines/index.html
build:
steps:
# - script:
# name: update packages
# code: apt-get update
#
- install-packages:
packages: check
- script:
name: compile
code: |
cmake .
make
- script:
name: run tests
code: |
cd $WERCKER_SOURCE_DIR
tests/TestFalconCalc
coverage:
steps:
- install-packages:
packages: check lcov
- script:
name: pip install
code: |
pip install cpp-coveralls
- script:
name: coverage
code: |
cd $WERCKER_SOURCE_DIR
git checkout $CI_BRANCH
cmake -DCMAKE_BUILD_TYPE=Debug
make FalconCalc_cov
CI_BRANCH=${WERCKER_GIT_BRANCH} coveralls -e lib -e tests -e CMakeFiles -e main.c -E .*.h --gcov-options '\-lp'
bash <(curl -s https://codecov.io/bash)