Skip to content

Commit 153530c

Browse files
committed
add circleci 2 config and remove the old config
1 parent 6ef146f commit 153530c

File tree

3 files changed

+22
-26
lines changed

3 files changed

+22
-26
lines changed

.circleci/config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2.0
2+
3+
jobs:
4+
build:
5+
docker:
6+
- image: circleci/python:2.7-stretch-browsers
7+
steps:
8+
- checkout
9+
- run: "curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin"
10+
- run: "testspace config url samples.testspace.com"
11+
- run: "sudo pip install gcovr"
12+
- run: "wget https://github.com/cpputest/cpputest/releases/download/v3.8/cpputest-3.8.zip"
13+
- 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
17+
- run: gcovr --root ./ --filter ".*/ApplicationLib/.*" -x -o coverage.xml
18+
- run:
19+
name: Send reports to testspace
20+
command: "testspace build.log{lint} [Tests]cpputest_*.xml coverage.xml"
21+
when: always

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
!.travis.yml
1111
!shippable.yml
12-
!circle.yml
12+
!.circleci/config.yml
1313
!.c9build.sh
1414
!.testspace.txt
1515

circle.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)