Skip to content
Snippets Groups Projects
Commit 73d75ed1 authored by Arseny Antonov's avatar Arseny Antonov Committed by Kirill Yukhin
Browse files

Added new coveralls options to sync repos with coveralls site (#3327) (#3331)

* Added new coveralls options to sync repo

* Pass travis job to coverage docker
parent 6d81fa99
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ docker_%: ...@@ -26,6 +26,7 @@ docker_%:
-e XDG_CACHE_HOME=/cache \ -e XDG_CACHE_HOME=/cache \
-e CCACHE_DIR=/cache/ccache \ -e CCACHE_DIR=/cache/ccache \
-e COVERALLS_TOKEN=${COVERALLS_TOKEN} \ -e COVERALLS_TOKEN=${COVERALLS_TOKEN} \
-e TRAVIS_JOB_ID=${TRAVIS_JOB_ID} \
${DOCKER_IMAGE} \ ${DOCKER_IMAGE} \
make -f .travis.mk $(subst docker_,,$@) make -f .travis.mk $(subst docker_,,$@)
...@@ -71,8 +72,8 @@ coverage_ubuntu: deps_ubuntu ...@@ -71,8 +72,8 @@ coverage_ubuntu: deps_ubuntu
@if [ -n "$(COVERALLS_TOKEN)" ]; then \ @if [ -n "$(COVERALLS_TOKEN)" ]; then \
echo "Exporting code coverage information to coveralls.io"; \ echo "Exporting code coverage information to coveralls.io"; \
gem install coveralls-lcov; \ gem install coveralls-lcov; \
echo coveralls-lcov --repo-token [FILTERED] coverage.info; \ echo coveralls-lcov --service-name travis-ci --service-job-id $(TRAVIS_JOB_ID) --repo-token [FILTERED] coverage.info; \
coveralls-lcov --repo-token $(COVERALLS_TOKEN) coverage.info; \ coveralls-lcov --service-name travis-ci --service-job-id $(TRAVIS_JOB_ID) --repo-token $(COVERALLS_TOKEN) coverage.info; \
fi; fi;
source: source:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment