Skip to content

Commit 37d67df

Browse files
committed
add coveralls
will need COVERALLS_REPO_TOKEN set in circleci
1 parent f6411c4 commit 37d67df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

circle.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
test:
22
override:
33
- mbed --version
4-
- py.test test --cov=mbed --cov-branch --cov-report html:${CIRCLE_ARTIFACTS}/coverage_output --cov-report term --durations=20 --color=yes
4+
- py.test test --cov=. --cov-branch --cov-report html:${CIRCLE_ARTIFACTS}/coverage_output --cov-report term --durations=20 --color=yes
5+
- coveralls
56
- mbed toolchain -G GCC_ARM
67
- mbed target -G K64F
78
- mbed config -G protocol ssh
@@ -76,7 +77,7 @@ test:
7677
7778
dependencies:
7879
pre:
79-
- sudo pip install pytest pytest-cov
80+
- sudo pip install pytest pytest-cov coveralls
8081
- git config --global user.email "test@mbed.org"
8182
- git config --global user.name "mbed Test"
8283
- echo -e "[ui]\nusername = mbed Test <test@mbed.org>\n" > ~/.hgrc

0 commit comments

Comments
 (0)