Skip to content

Commit 1c0c898

Browse files
committed
Add sauce connect addon to travisCI
1 parent d49d4dd commit 1c0c898

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ env:
55
global:
66
- SAUCE_USERNAME=aidaskk
77
- SAUCE_ACCESS_KEY=6e96b47e-6665-4f69-beaa-085e5d5b6b9b
8+
addons:
9+
sauce_connect: true
810
before_script:
911
- sh -e /etc/init.d/xvfb start
1012
- npm install --quiet -g grunt-cli karma

Gruntfile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,11 @@ module.exports = function(grunt) {
6969
},
7070
// global config for SauceLabs
7171
sauceLabs: {
72+
testName: 'flow.js',
7273
username: grunt.option('sauce-username') || process.env.SAUCE_USERNAME,
7374
accessKey: grunt.option('sauce-access-key') || process.env.SAUCE_ACCESS_KEY,
74-
startConnect: grunt.option('sauce-local') ? false : true ,
75-
testName: 'flow.js'
75+
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER,
76+
startConnect: false
7677
}
7778
}
7879
},

0 commit comments

Comments
 (0)