From c37d2c13e3dffb871f990983cdb49cc4321279b0 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 3 Jan 2017 02:51:08 -0500 Subject: [PATCH] circleci limit coveralls submit to main repo --- circle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 8882d091df..e077498b26 100644 --- a/circle.yml +++ b/circle.yml @@ -24,5 +24,5 @@ test: # copy test results for circleci - mkdir -p $CIRCLE_TEST_REPORTS/junit/ && cp ./build_posix_sitl_default/JUnitTestResults.xml build_unittest/test_detail.xml $CIRCLE_TEST_REPORTS/junit/ - mkdir -p $CIRCLE_ARTIFACTS && cp -R coverage-html $CIRCLE_ARTIFACTS - - cpp-coveralls -l coverage.info - + # only post to coveralls if not a fork PR + - if [ -z ${CIRCLE_PR_USERNAME}]; then cpp-coveralls -l coverage.info; fi