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

build: fix Travis non-PR builds #24093

Closed
wants to merge 1 commit into from

Conversation

richardlau
Copy link
Member

Don't return non-zero if $TRAVIS_PULL_REQUEST == "false".

Refs: #24076 (comment)

Checklist

Don't return non-zero if TRAVIS_PULL_REQUEST == "false".
@richardlau
Copy link
Member Author

richardlau commented Nov 5, 2018

I'm not sure there's an easy way to test this in a non-PR scenario, other than maybe fudging TRAVIS_PULL_REQUEST as a temp don't-land commit in this PR?

(Edit: What I have done is run the command locally with TRAVIS_PULL_REQUEST="false" and checked that echo $? returned 0.)

@refack
Copy link
Contributor

refack commented Nov 5, 2018

Non PR travis: https://travis-ci.org/refack/node/builds/450653840

@richardlau
Copy link
Member Author

No PR travis: https://travis-ci.org/refack/node/builds/450653840

😁
image

@richardlau
Copy link
Member Author

Lite CI (since the last time I checked ncu doesn't recognise nodejs-github-bot initiated runs): https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/1493/

@refack refack added the fast-track PRs that do not need to wait for 48 hours to land. label Nov 5, 2018
@refack
Copy link
Contributor

refack commented Nov 5, 2018

Please upvote to fast-track.

@refack refack added build Issues and PRs related to build files or the CI. meta Issues and PRs related to the general management of the project. labels Nov 5, 2018
@Trott
Copy link
Member

Trott commented Nov 5, 2018

Landed in 809be43

@Trott Trott closed this Nov 5, 2018
Trott pushed a commit to Trott/io.js that referenced this pull request Nov 5, 2018
Don't return non-zero if TRAVIS_PULL_REQUEST == "false".

PR-URL: nodejs#24093
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@richardlau
Copy link
Member Author

Thanks everyone, and sorry for causing the original issue.

targos pushed a commit that referenced this pull request Nov 5, 2018
Don't return non-zero if TRAVIS_PULL_REQUEST == "false".

PR-URL: #24093
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@richardlau richardlau deleted the pr-commit-lint branch November 8, 2018 18:21
codebytere pushed a commit that referenced this pull request Nov 29, 2018
Don't return non-zero if TRAVIS_PULL_REQUEST == "false".

PR-URL: #24093
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
MylesBorins pushed a commit that referenced this pull request Nov 29, 2018
Don't return non-zero if TRAVIS_PULL_REQUEST == "false".

PR-URL: #24093
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@codebytere codebytere mentioned this pull request Nov 29, 2018
MylesBorins pushed a commit that referenced this pull request Dec 3, 2018
Don't return non-zero if TRAVIS_PULL_REQUEST == "false".

PR-URL: #24093
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. fast-track PRs that do not need to wait for 48 hours to land. meta Issues and PRs related to the general management of the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants