Skip to content

Commit

Permalink
collect travisBuildWebUrl from TR (#6809)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane authored Mar 24, 2020
1 parent 6c15aa2 commit 4054e72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/server/lib/util/ci_provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ const _providerCiParams = () => {
travis: extract([
'TRAVIS_JOB_ID',
'TRAVIS_BUILD_ID',
'TRAVIS_BUILD_WEB_URL',
'TRAVIS_REPO_SLUG',
'TRAVIS_JOB_NUMBER',
'TRAVIS_EVENT_TYPE',
Expand Down
2 changes: 2 additions & 0 deletions packages/server/test/unit/ci_provider_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,7 @@ describe "lib/util/ci_provider", ->

TRAVIS_JOB_ID: "travisJobId"
TRAVIS_BUILD_ID: "travisBuildId"
TRAVIS_BUILD_WEB_URL: "https://travis-ci.org/github/project/123"
TRAVIS_REPO_SLUG: "travisRepoSlug"
TRAVIS_JOB_NUMBER: "travisJobNumber"
TRAVIS_EVENT_TYPE: "travisEventType"
Expand All @@ -874,6 +875,7 @@ describe "lib/util/ci_provider", ->
expectsCiParams({
travisJobId: "travisJobId"
travisBuildId: "travisBuildId"
travisBuildWebUrl: "https://travis-ci.org/github/project/123"
travisRepoSlug: "travisRepoSlug"
travisJobNumber: "travisJobNumber"
travisEventType: "travisEventType"
Expand Down

3 comments on commit 4054e72

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 4054e72 Mar 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.2.1/linux-x64/circle-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-288744/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.2.1/circle-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-288651/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 4054e72 Mar 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 ia32 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.2.1/win32-ia32/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.2.1/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/4.2.1/win32-ia32/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.2.1/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.2.1/win32-ia32/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.2.1/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.2.1/win32-ia32/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.zip npm install https://cdn.cypress.io/beta/npm/4.2.1/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 4054e72 Mar 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.2.1/win32-x64/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.2.1/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/4.2.1/win32-x64/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.2.1/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.2.1/win32-x64/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.2.1/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.2.1/win32-x64/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.zip npm install https://cdn.cypress.io/beta/npm/4.2.1/appveyor-develop-4054e72c3bc1ecfb5308156b5c782077d96358dc-31671939/cypress.tgz

Please sign in to comment.