Skip to content

Commit

Permalink
Don’t run extended tests on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Mar 12, 2015
1 parent 4d2db54 commit 792fdab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ module.exports = function(grunt) {
'command': 'echo "Testing in Ringo..."; ringo -o -1 "tests/tests.js"'
},
'test-node': {
'command': 'echo "Testing in Node..."; node "tests/tests.js"'
},
'test-node-extended': {
'command': 'echo "Testing in Node..."; node "tests/tests.js" --extended'
},
'test-browser': {
Expand All @@ -61,11 +64,12 @@ module.exports = function(grunt) {
grunt.registerTask('test', [
'shell:generate-test-data',
'ci',
'shell:test-node-extended',
'shell:test-browser'
]);

grunt.registerTask('default', [
'shell:test-node',
'shell:test-node-extended',
'cover'
]);

Expand Down
2 changes: 1 addition & 1 deletion tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
var runExtendedTests = (function() {
try {
return process.argv[0] == 'node' && process.argv[2] == '--extended';
} catch(error) { }
} catch (exception) { }
}());

var data = [
Expand Down

0 comments on commit 792fdab

Please sign in to comment.