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

Fix: don't run SauceLabs tests on PR's #36

Merged
merged 1 commit into from
Sep 13, 2015

Conversation

seriema
Copy link
Owner

@seriema seriema commented Sep 13, 2015

Testing CI stuff is hard… ;) Doing this as my own PR now so I can amend commits until it works as expected.

I should’ve read the docs better: “The environment variable ${TRAVIS_PULL_REQUEST} is set to "false" when the build is for a normal branch commit. When the build is for a pull request, it will contain the pull request’s number.”

Resources:
http://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when-testing-Pull-Requests

Fixes #31

Testing CI stuff is hard… ;) Doing this as my own PR now so I can amend
commits until it works as expected.

I should’ve read the docs better: “The environment variable
${TRAVIS_PULL_REQUEST} is set to "false" when the build is for a normal
branch commit. When the build is for a pull request, it will contain
the pull request’s number.”

Resources:
http://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when
-testing-Pull-Requests

Fixes #31
@seriema seriema merged commit 0306af2 into master Sep 13, 2015
@seriema seriema deleted the fix-31-toggle-sl-based-on-pr branch September 13, 2015 17:19
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.

None yet

1 participant