Skip to content

Commit f5f1f9c

Browse files
committed
working paths
1 parent bcc7b74 commit f5f1f9c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

circle.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff 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

1512
test:
1613
override:
@@ -25,9 +22,7 @@ test:
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}

0 commit comments

Comments
 (0)