Skip to content

Commit

Permalink
Make travis run the tests on saucelabs (TODO: fill secure tokens)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstrat authored and ichernev committed Dec 25, 2013
1 parent 205a04f commit ac9cb4a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
language: node_js
node_js:
- 0.8

env:
global:
- secure: "Secure username token goes here!"
- secure: "Secure access key token goes here!"

before_script:
- npm install -g grunt-cli

script: grunt build:travis
3 changes: 3 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ module.exports = function (grunt) {
grunt.registerTask('test:browser', ['concat', 'embed_languages', 'karma:chrome']);
grunt.registerTask('test:sauce-browser', ['concat', 'embed_languages', 'karma:sauce']);

// travis build task
grunt.registerTask('build:travis', ['jshint', 'test:node', 'test:sauce-browser']);

// Task to be run when releasing a new version
grunt.registerTask('release', ['jshint', 'nodeunit', 'concat',
'embed_languages', 'component', 'uglify']);
Expand Down

0 comments on commit ac9cb4a

Please sign in to comment.