mirror of
https://github.com/wahyd4/play-sound.git
synced 2026-08-09 04:46:23 +10:00
stop playing actual sounds on travis
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
language: node_js
|
||||
notifications:
|
||||
email: false
|
||||
script: CI=true npm test
|
||||
|
||||
@@ -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()
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user