Skip to content

Commit

Permalink
Workaround to publish coveralls from non-travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aroxby committed Nov 27, 2021
1 parent dff38a6 commit 60ec744
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: Run Docker Tests
command: |
docker run --rm \
-e TRAVIS_JOB_ID=$CIRCLE_BUILD_NUM \
-e TRAVIS_JOB_ID=#$CIRCLE_BUILD_NUM \
$CIRCLE_PROJECT_REPONAME make coveralls
workflows:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ $(TEST_OUT): $(TEST_OBJS) $(TOBJS)
test: $(TEST_OUT)
$<

coveralls: test
.coveralls.yml:
echo service_name: circleci > .coveralls.yml

coveralls: test .coveralls.yml
coveralls -b . -e external -e tests

test-tidy:
Expand Down

0 comments on commit 60ec744

Please sign in to comment.