Skip to content

Commit a370ca7

Browse files
committed
fix tests
1 parent 2c1dda2 commit a370ca7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sauceLabs.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// https://saucelabs.com/platforms
22

3-
const IS_LOCAL = !process.env.TRAVIS_BUILD_NUMBER;
3+
const IS_LOCAL = !process.env["TRAVIS_BUILD_NUMBER"];
44

55
export type SauceLauncher = {
66
base: "SauceLabs";
@@ -26,8 +26,8 @@ export const sauceLabs = {
2626

2727
// Only master branch are logged to the SauceLabs builds, which updates the browser-matrix badge.
2828
build:
29-
process.env.TRAVIS_BRANCH === "master" && process.env.TRAVIS_EVENT_TYPE !== "pull_request"
30-
? process.env.TRAVIS_BUILD_NUMBER
29+
process.env["TRAVIS_BRANCH"] === "master" && process.env["TRAVIS_EVENT_TYPE"] !== "pull_request"
30+
? process.env["TRAVIS_BUILD_NUMBER"]
3131
: undefined,
3232
};
3333

0 commit comments

Comments
 (0)