File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ machine :
2+ services :
3+ docker
4+ environment :
5+ CPPUTEST_HOME : $HOME/$CIRCLE_PROJECT_REPONAME/cpputest-3.8
6+
7+ dependencies :
8+ pre :
9+ - curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin
10+ - testspace config url samples.testspace.com
11+ - testspace -v
12+ - pip install gcovr
13+ - wget https://github.com/cpputest/cpputest/releases/download/v3.8/cpputest-3.8.zip
14+ - unzip cpputest-3.8.zip
15+ override :
16+ - cd $CPPUTEST_HOME/cpputest_build && autoreconf .. -i && ../configure && make && cp -R ./lib ../
17+
18+ test :
19+ override :
20+ - make -C $CPPUTEST_HOME/examples CPPUTEST_USE_GCOV=Y clean all_no_tests |& tee build.log ; test ${PIPESTATUS[0]} -eq 0
21+ - $CPPUTEST_HOME/examples/CppUTestExamples_tests -o junit -v
22+ - gcovr --root ./ --filter ".*/ApplicationLib/.*" -x -o coverage.xml
23+
24+ post :
25+ - testspace build.log{lint} [Tests]cpputest_*.xml coverage.xml
You can’t perform that action at this time.
0 commit comments