Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): disable browserstack for community PRs #150

Merged
merged 4 commits into from
Jun 29, 2018

Conversation

frederickfogerty
Copy link
Contributor

@frederickfogerty frederickfogerty commented Jun 28, 2018

Description

Before this PR, Pull Requests submitted by non-contributors failed on CI because the integration tests failed. This is because Travis does not provide environment variable to outsiders' Pull Requests for safety reasons, and so the tests could not log in to BrowserStack.

This PR updates the CI configuration to run all tests for contributors, and only run integration tests on Chrome and Firefox for community PRs.

This fixes #148

Steps to Test

Steps:

  1. Observe that the Travis build passes for this PR, and that all tests are run (including BrowserStack)
  2. Remove the BROWSERSTACK keys from https://travis-ci.org/imgix/react-imgix/settings
  3. Restart the build and observe that only the Chrome and Firefox tests run
  4. Ask me to add back the environment variables for Browserstack.

@frederickfogerty frederickfogerty changed the title [wip] Fred/disable browserstack for outside prs chore(ci): disable browserstack for community PRs Jun 28, 2018
@frederickfogerty frederickfogerty requested a review from jayeb June 28, 2018 23:44
@frederickfogerty frederickfogerty merged commit afec42c into master Jun 29, 2018
@frederickfogerty frederickfogerty deleted the fred/disable-browserstack-for-outside-prs branch June 29, 2018 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pull Requests fail for non-contributor PRs due to Travis not setting environment variables.
2 participants