Merge pull request #37 from videojs/saucytravis3_thefinaldimension
Fix package.json and don't use saucelabs.
Showing
5 changed files
with
23 additions
and
23 deletions
1 | language: node_js | 1 | language: node_js |
2 | node_js: | 2 | node_js: |
3 | - '0.8' | 3 | - '0.10' |
4 | before_script: | 4 | before_script: |
5 | - npm install -g grunt-cli | 5 | - npm install -g grunt-cli |
6 | - curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash | ||
7 | notifications: | 6 | notifications: |
8 | hipchat: | 7 | hipchat: |
9 | rooms: | 8 | rooms: |
10 | secure: l5TTd5JuPAW883PtcyaIBcJI9Chr9JpsZPQAEUBKAgIEwzuS6y7t5arlkS1PwH6gi1FADzYDf+OXSIou4GkTSrIetnBcT/SAgF0gBKgIhj+eRkuCfZ4VaC7BPhfZ0hgYRE+5Ejf5BM2MJafRm0pj7OlqG4xKrQZwtuV1te5r3JY= | 9 | secure: l5TTd5JuPAW883PtcyaIBcJI9Chr9JpsZPQAEUBKAgIEwzuS6y7t5arlkS1PwH6gi1FADzYDf+OXSIou4GkTSrIetnBcT/SAgF0gBKgIhj+eRkuCfZ4VaC7BPhfZ0hgYRE+5Ejf5BM2MJafRm0pj7OlqG4xKrQZwtuV1te5r3JY= |
11 | irc: chat.freenode.net#videojs | 10 | irc: chat.freenode.net#videojs |
12 | addons: | 11 | #addons: |
13 | sauce_connect: | 12 | #sauce_connect: |
14 | username: | 13 | #username: |
15 | secure: "Y++AtTlMXkcPAx+K0cL6uzn4FlmfiIki5bkGCkowoYSCxq1X9tNta39JONSVSeZKBlP58GJwNJdB4Wq1CpJL4NriGc3UvpcgNcrILGOWLczX0zFvXkOIaLn0bUuierf4wzUjk3i6XOh83NrMaX+gBHXb8RVUEBf2z0/WM3zHrEM=" | 14 | #secure: "Y++AtTlMXkcPAx+K0cL6uzn4FlmfiIki5bkGCkowoYSCxq1X9tNta39JONSVSeZKBlP58GJwNJdB4Wq1CpJL4NriGc3UvpcgNcrILGOWLczX0zFvXkOIaLn0bUuierf4wzUjk3i6XOh83NrMaX+gBHXb8RVUEBf2z0/WM3zHrEM=" |
16 | access_key: | 15 | #access_key: |
17 | secure: "bCan88WIWqm6jP4ZtDbLVrrGXe1a33otfQhi7SYp95wHFLemUHS1JyXv+HbbbsW5dNjatfdhzvc47bpw4LbccL6evVR9sb2Tld15TxW2a2WQtMPzvOfj55aP1YQtIxYwy14swifWGK/Lj/A0ZUCUNolCf7DjCK6hZGaWaDRtdIE=" | 16 | #secure: "bCan88WIWqm6jP4ZtDbLVrrGXe1a33otfQhi7SYp95wHFLemUHS1JyXv+HbbbsW5dNjatfdhzvc47bpw4LbccL6evVR9sb2Tld15TxW2a2WQtMPzvOfj55aP1YQtIxYwy14swifWGK/Lj/A0ZUCUNolCf7DjCK6hZGaWaDRtdIE=" | ... | ... |
... | @@ -200,7 +200,6 @@ module.exports = function(grunt) { | ... | @@ -200,7 +200,6 @@ module.exports = function(grunt) { |
200 | grunt.loadNpmTasks('grunt-contrib-connect'); | 200 | grunt.loadNpmTasks('grunt-contrib-connect'); |
201 | grunt.loadNpmTasks('grunt-open'); | 201 | grunt.loadNpmTasks('grunt-open'); |
202 | grunt.loadNpmTasks('grunt-concurrent'); | 202 | grunt.loadNpmTasks('grunt-concurrent'); |
203 | grunt.loadNpmTasks('grunt-saucelabs'); | ||
204 | grunt.loadNpmTasks('grunt-contrib-watch'); | 203 | grunt.loadNpmTasks('grunt-contrib-watch'); |
205 | 204 | ||
206 | 205 | ||
... | @@ -260,10 +259,10 @@ module.exports = function(grunt) { | ... | @@ -260,10 +259,10 @@ module.exports = function(grunt) { |
260 | 'concat', | 259 | 'concat', |
261 | 'uglify']); | 260 | 'uglify']); |
262 | 261 | ||
263 | grunt.registerTask('test', ['manifests-to-js', 'karma:saucelabs']); | 262 | grunt.registerTask('test', ['jshint', 'manifests-to-js', 'karma:saucelabs']); |
264 | 263 | ||
265 | // travis build task | 264 | // travis build task |
266 | grunt.registerTask('build:travis', ['jshint', 'test:node', 'test:sauce-browser']); | 265 | grunt.registerTask('test-local', ['jshint', 'manifests-to-js', 'qunit']); |
267 | 266 | ||
268 | 267 | ||
269 | }; | 268 | }; | ... | ... |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | }, | 10 | }, |
11 | "license": "Apache 2", | 11 | "license": "Apache 2", |
12 | "scripts": { | 12 | "scripts": { |
13 | "test": "grunt test" | 13 | "test": "grunt test-local" |
14 | }, | 14 | }, |
15 | "devDependencies": { | 15 | "devDependencies": { |
16 | "grunt-contrib-jshint": "~0.6.0", | 16 | "grunt-contrib-jshint": "~0.6.0", |
... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
33 | "karma-opera-launcher": "~0.1.0", | 33 | "karma-opera-launcher": "~0.1.0", |
34 | "karma-phantomjs-launcher": "~0.1.1", | 34 | "karma-phantomjs-launcher": "~0.1.1", |
35 | "karma-safari-launcher": "~0.1.1", | 35 | "karma-safari-launcher": "~0.1.1", |
36 | "karma-qunit": "~0.1.1" | 36 | "karma-qunit": "~0.1.1", |
37 | "video.js": "^4.5" | 37 | "video.js": "^4.5" |
38 | }, | 38 | }, |
39 | "peerDependencies": { | 39 | "peerDependencies": { | ... | ... |
... | @@ -11,6 +11,7 @@ | ... | @@ -11,6 +11,7 @@ |
11 | "boss": true, | 11 | "boss": true, |
12 | "eqnull": true, | 12 | "eqnull": true, |
13 | "browser": true, | 13 | "browser": true, |
14 | "node": true, | ||
14 | "predef": [ | 15 | "predef": [ |
15 | "QUnit", | 16 | "QUnit", |
16 | "module", | 17 | "module", |
... | @@ -26,6 +27,7 @@ | ... | @@ -26,6 +27,7 @@ |
26 | "notDeepEqual", | 27 | "notDeepEqual", |
27 | "strictEqual", | 28 | "strictEqual", |
28 | "notStrictEqual", | 29 | "notStrictEqual", |
29 | "throws" | 30 | "throws", |
31 | "process" | ||
30 | ] | 32 | ] |
31 | } | 33 | } | ... | ... |
... | @@ -26,11 +26,11 @@ module.exports = function(config) { | ... | @@ -26,11 +26,11 @@ module.exports = function(config) { |
26 | // - PhantomJS | 26 | // - PhantomJS |
27 | // - IE (only Windows) | 27 | // - IE (only Windows) |
28 | // Example usage: | 28 | // Example usage: |
29 | browsers: ['chrome_test', | 29 | browsers: ['chrome_test'], |
30 | //'firefox_test', | 30 | //'firefox_test', |
31 | //'safari_test', ' | 31 | //'safari_test', |
32 | //'ipad_test', | 32 | //'ipad_test', |
33 | 'android_test'], | 33 | //'android_test' |
34 | 34 | ||
35 | // List of files / patterns to load in the browser | 35 | // List of files / patterns to load in the browser |
36 | // Add any new src files to this list. | 36 | // Add any new src files to this list. |
... | @@ -98,11 +98,11 @@ module.exports = function(config) { | ... | @@ -98,11 +98,11 @@ module.exports = function(config) { |
98 | 98 | ||
99 | // global config for SauceLabs | 99 | // global config for SauceLabs |
100 | sauceLabs: { | 100 | sauceLabs: { |
101 | username: "sheff555", | ||
102 | accessKey: "d04372cc-0fc3-4e59-aa02-3cfd9df03240", | ||
103 | startConnect: true, | 101 | startConnect: true, |
104 | tunnelIdentifier: 'uniquekarmaidentifier', | 102 | tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER, |
105 | testName: 'ps test sample' | 103 | build: process.env.TRAVIS_BUILD_NUMBER, |
104 | testName: process.env.TRAVIS_BUILD_NUMBER + process.env.TRAVIS_BRANCH, | ||
105 | recordScreenshots: false | ||
106 | }, | 106 | }, |
107 | 107 | ||
108 | //define SL browsers | 108 | //define SL browsers | ... | ... |
-
Please register or sign in to post a comment