File tree Expand file tree Collapse file tree 3 files changed +24
-26
lines changed
Expand file tree Collapse file tree 3 files changed +24
-26
lines changed Original file line number Diff line number Diff line change 1+ version : 2.0
2+
3+ jobs :
4+ build :
5+ docker :
6+ - image : circleci/python:2.7-stretch-browsers
7+ environment :
8+ CPPUTEST_HOME : $HOME/$CIRCLE_PROJECT_REPONAME/cpputest-3.8
9+ steps :
10+ - checkout
11+ - run : " curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin"
12+ - run : " testspace config url samples.testspace.com"
13+ - run : " sudo pip install gcovr"
14+ - run : " wget https://github.com/cpputest/cpputest/releases/download/v3.8/cpputest-3.8.zip"
15+ - run : " unzip cpputest-3.8.zip"
16+ - run : cd cpputest-3.8/cpputest_build && autoreconf .. -i && ../configure && make && cp -R ./lib ../
17+ - run : make -C cpputest-3.8/examples CPPUTEST_USE_GCOV=Y clean all_no_tests |& tee build.log ; test ${PIPESTATUS[0]} -eq 0
18+ - run : cpputest-3.8/examples/CppUTestExamples_tests -o junit -v
19+ - run : gcovr --root ./ --filter ".*/ApplicationLib/.*" -x -o coverage.xml
20+ - run :
21+ name : Send reports to testspace
22+ command : " testspace build.log{lint} [Tests]cpputest_*.xml coverage.xml"
23+ when : always
Original file line number Diff line number Diff line change 99
1010! .travis.yml
1111! shippable.yml
12- ! circle .yml
12+ ! .circleci / config .yml
1313! .c9build.sh
1414! .testspace.txt
1515
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments