We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c1dda2 commit a370ca7Copy full SHA for a370ca7
sauceLabs.ts
@@ -1,6 +1,6 @@
1
// https://saucelabs.com/platforms
2
3
-const IS_LOCAL = !process.env.TRAVIS_BUILD_NUMBER;
+const IS_LOCAL = !process.env["TRAVIS_BUILD_NUMBER"];
4
5
export type SauceLauncher = {
6
base: "SauceLabs";
@@ -26,8 +26,8 @@ export const sauceLabs = {
26
27
// Only master branch are logged to the SauceLabs builds, which updates the browser-matrix badge.
28
build:
29
- process.env.TRAVIS_BRANCH === "master" && process.env.TRAVIS_EVENT_TYPE !== "pull_request"
30
- ? process.env.TRAVIS_BUILD_NUMBER
+ process.env["TRAVIS_BRANCH"] === "master" && process.env["TRAVIS_EVENT_TYPE"] !== "pull_request"
+ ? process.env["TRAVIS_BUILD_NUMBER"]
31
: undefined,
32
};
33
0 commit comments