File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,7 @@ dependencies:
77 - unzip release-1.7.0.zip
88 - mv googletest-release-1.7.0 gtest
99 override :
10- - cd gtest
11- - mkdir build
12- - cd build
13- - cmake -Dgtest_build_samples=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG='-g -fprofile-arcs -ftest-coverage' ../
10+ - cd gtest; mkdir build; cd build; cmake -Dgtest_build_samples=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG='-g -fprofile-arcs -ftest-coverage' ../
1411
1512test :
1613 override :
2522 - ./sample8_unittest --gtest_output=xml:sample8.xml
2623 - ./sample9_unittest --gtest_output=xml:sample9.xml
2724 - ./sample10_unittest --gtest_output=xml:sample10.xml
28- - cd ..
29- - gcovr --root $PWD --filter ".*/samples.*" --exclude ".*_unittest.*" -x -o build/coverage.xml
25+ - cd ..; gcovr --root $PWD --filter ".*/samples.*" --exclude ".*_unittest.*" -x -o build/coverage.xml
3026 post :
3127 - curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
32- - cd build
33- - testspace [Tests]sample*.xml coverage.xml $TESTSPACE_TOKEN/${CIRCLE_BRANCH}#circle.Build.${CIRCLE_BUILD_NUM}
28+ - testspace [Tests]build/sample*.xml build/coverage.xml $TESTSPACE_TOKEN/${CIRCLE_BRANCH}#circle.Build.${CIRCLE_BUILD_NUM}
You can’t perform that action at this time.
0 commit comments