Skip to content

Commit d06a027

Browse files
authored
explicitly set $CPPUTEST_HOME
1 parent 153530c commit d06a027

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.circleci/config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ version: 2.0
33
jobs:
44
build:
55
docker:
6-
- image: circleci/python:2.7-stretch-browsers
6+
- image: circleci/python:2.7-stretch
7+
environment:
8+
CPPUTEST_HOME: cpputest-3.8
79
steps:
810
- checkout
911
- run: "curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin"
1012
- run: "testspace config url samples.testspace.com"
1113
- run: "sudo pip install gcovr"
1214
- run: "wget https://github.com/cpputest/cpputest/releases/download/v3.8/cpputest-3.8.zip"
1315
- run: "unzip cpputest-3.8.zip"
14-
- run: cd cpputest-3.8/cpputest_build && autoreconf .. -i && ../configure && make && cp -R ./lib ../
15-
- run: make -C cpputest-3.8/examples CPPUTEST_USE_GCOV=Y clean all_no_tests |& tee build.log ; test ${PIPESTATUS[0]} -eq 0
16-
- run: cpputest-3.8/examples/CppUTestExamples_tests -o junit -v
16+
- run: cd $CPPUTEST_HOME/cpputest_build && autoreconf .. -i && ../configure && make && cp -R ./lib ../
17+
- run: make -C $CPPUTEST_HOME/examples CPPUTEST_USE_GCOV=Y clean all_no_tests |& tee build.log ; test ${PIPESTATUS[0]} -eq 0
18+
- run: $CPPUTEST_HOME/examples/CppUTestExamples_tests -o junit -v
1719
- run: gcovr --root ./ --filter ".*/ApplicationLib/.*" -x -o coverage.xml
1820
- run:
1921
name: Send reports to testspace

0 commit comments

Comments
 (0)