stop playing actual sounds on travis

This commit is contained in:
Hrvoje Šimić
2014-09-19 12:13:24 +02:00
parent 8705e2b2d3
commit eec777ad33
2 changed files with 8 additions and 6 deletions
+1
View File
@@ -1,3 +1,4 @@
language: node_js
notifications:
email: false
script: CI=true npm test
+7 -6
View File
@@ -87,10 +87,11 @@ describe("overridable options", function(){
})
it("provides a function for easy testing", function(done){
var player = require('./')()
player.test(function(){
done()
if (!process.env.CI){
it("provides a function for easy testing", function(done){
var player = require('./')()
player.test(function(){
done()
})
})
})
}