src-d / sourced-ce

source{d} Community Edition (CE)
https://docs.sourced.tech/community-edition
GNU General Public License v3.0
188 stars 51 forks source link

Set SOURCED_GITHUB_TOKEN on travis #187

Closed se7entyse7en closed 5 years ago

se7entyse7en commented 5 years ago

Some integration tests are currently being skipped on travis as the SOURCED_GITHUB_TOKEN env var is not set.

carlosms commented 5 years ago

It is set: https://github.com/src-d/sourced-ce/blob/master/.travis.yml#L16

but travis only exports the secret keys to the build if the PR comes from a repo branch. To trigger all tests for a PR we need to push to a branch in this repo instead of our forks. The tests for master do not skip any of the integration tests.

se7entyse7en commented 5 years ago

Oh ok! I didn't know that, and I actually missed to take a look at the travis file. Thanks!