Skip to content

Commit

Permalink
build: use built-in sauce connect functionality (#611)
Browse files Browse the repository at this point in the history
* build: move sc environment variables into travis.yml

* build: use sc addon
  • Loading branch information
imurchie authored Jan 6, 2020
1 parent b11d89e commit 6066d3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
language: node_js
node_js:
- "10"
addons:
sauce_connect:
username: "wdjs"
jwt:
secure: "Rd/8FnJNEwa5GArBrMyH4pQwFY4m7uFoG9Napnk5geitFnlYvN7xolxPw4mwhYDjqk9RjRRfqJA1OZVFGg8wR+7pDIrriKeQKc+nws5n8aUlWbc++qitIx5gnM/InXZwPh7ALOfUYCZVmbWbpg7DLwP2qsjuCVgB50UuvSHG7ZI="
env:
global:
- TIMEOUT=600000
Expand All @@ -21,4 +26,4 @@ env:
# - CONFIG=ipad
# - CONFIG=android_phone
script:
- npm run lint && npx gulp travis --config $CONFIG --sauce
- npm run lint && npx gulp travis --config $CONFIG --sauce --nosc
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ gulp.task('sc:stop', function (done) {
});

gulp.task('pre:midway', function() {
var seq = args.sauce && !args['nosc']
var seq = args.sauce && !args.nosc
? ['sc:start', 'proxy:start']
: ['proxy:start'];
return runSequence(seq);
Expand Down

0 comments on commit 6066d3a

Please sign in to comment.