Skip to content

Commit

Permalink
add missing tunnel-identifier (#9)
Browse files Browse the repository at this point in the history
1. use job number instead of build number
2. add tunnel-identifier to enable sauce connect
  • Loading branch information
PinkyJie committed Dec 24, 2015
1 parent d97cf5f commit 2a50d1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ script:
after_success:
- npm run codecov
- npm run server
- npm run e2e -- --ci --build-id=$TRAVIS_BUILD_NUMBER
- npm run e2e -- --ci --build-id=$TRAVIS_JOB_NUMBER
env:
global:
- GitHub_REF: github.com/PinkyJie/angular1-webpack-starter.git
Expand Down
5 changes: 5 additions & 0 deletions protractor.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ if (args.ci) {
{
name: `Chrome (build-${args.buildId})`,
build: args.buildId,
'tunnel-identifier': args.buildId,
browserName: 'chrome',
platform: 'Windows 7',
maxDuration: 3600,
Expand All @@ -71,6 +72,7 @@ if (args.ci) {
{
name: `Safari (build-${args.buildId})`,
build: args.buildId,
'tunnel-identifier': args.buildId,
browserName: 'safari',
platform: 'OS X 10.11',
maxDuration: 3600,
Expand All @@ -80,6 +82,7 @@ if (args.ci) {
{
name: `IE (build-${args.buildId})`,
build: args.buildId,
'tunnel-identifier': args.buildId,
browserName: 'internet explorer',
platform: 'Windows 7',
version: '11.0',
Expand All @@ -90,6 +93,7 @@ if (args.ci) {
{
name: `iOS (build-${args.buildId})`,
build: args.buildId,
'tunnel-identifier': args.buildId,
browserName: 'iphone',
platform: 'OS X 10.10',
version: '9.1',
Expand All @@ -102,6 +106,7 @@ if (args.ci) {
{
name: `Android (build-${args.buildId})`,
build: args.buildId,
'tunnel-identifier': args.buildId,
browserName: 'android',
platform: 'Linux',
version: '4.4',
Expand Down

0 comments on commit 2a50d1c

Please sign in to comment.