Skip to content

build: fix Travis non-PR builds - #24093

Closed
richardlau wants to merge 1 commit into
nodejs:masterfrom
richardlau:pr-commit-lint
Closed

build: fix Travis non-PR builds#24093
richardlau wants to merge 1 commit into
nodejs:masterfrom
richardlau:pr-commit-lint

Conversation

@richardlau

Copy link
Copy Markdown
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".
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@richardlau

richardlau commented Nov 5, 2018

Copy link
Copy Markdown
MemberAuthor

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

refack commented Nov 5, 2018

Copy link
Copy Markdown
Contributor

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

@richardlau

Copy link
Copy Markdown
MemberAuthor

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

😁
image

@richardlau

Copy link
Copy Markdown
MemberAuthor

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/

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

Copy link
Copy Markdown
Contributor

Please upvote to fast-track.

@refackrefack 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

Trott commented Nov 5, 2018

Copy link
Copy Markdown
Member

Landed in 809be43

@TrottTrott 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 <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@richardlau

Copy link
Copy Markdown
MemberAuthor

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 <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@richardlau
richardlau deleted the pr-commit-lint branch November 8, 2018 18:21
@BridgeARBridgeAR mentioned this pull request Nov 14, 2018
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 <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
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 <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@codebyterecodebytere 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 <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.fast-trackPRs that do not need to wait for 48 hours to land.metaIssues 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

@richardlau@nodejs-github-bot@refack@Trott@codebytere