# How can I share coverage information between build stages in PRs from forks?

**URL:** <https://travis-ci.community/t/how-can-i-share-coverage-information-between-build-stages-in-prs-from-forks/859>\
**Category:** Travis CI Discussions & Feedback\
**Created:** [November 13, 2018, 12:14pm UTC](https://travis-ci.community/t/how-can-i-share-coverage-information-between-build-stages-in-prs-from-forks/859 "2018-11-13T12:14:11Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [February 17, 2019, 10:13pm UTC](https://travis-ci.community/t/how-can-i-share-coverage-information-between-build-stages-in-prs-from-forks/859/18 "2019-02-17T22:13:46Z")

</div>

Well, then

- Travis cache is out of question:
  - It cannot pass information between stages [unless the two jobs have exactly the same configuration (i.e. correspond 1-1)](https://travis-ci.community/t/what-is-the-cache-id-for-a-job-generated-from-how-can-staged-jobs-use-the-same-cache/884/2)

- Using any 3rd-party service is impossible due to conflicting requirements:
  - You require build agents to be authenticated to be able to contribute data, but you refuse to provide them with any means to authenticate themselves because they are untrusted.

The only idea I have is to use the `travis` console utility to extract information about the current build, locate the appropriate jobs within it and extract the necessary data from their build logs (a build log is the only build result that Travis retains).

---

_[View the full topic](https://travis-ci.community/t/how-can-i-share-coverage-information-between-build-stages-in-prs-from-forks/859)._
