Simplify testem logic and remove console logging
This commit is contained in:
parent
8cd14b8952
commit
8de13d1949
|
@ -1,16 +1,11 @@
|
||||||
/*jshint node:true*/
|
/*jshint node:true*/
|
||||||
|
|
||||||
var launchInCI = function() {
|
var launchInCI = function() {
|
||||||
if (process.env.TRAVIS) {
|
if (!process.env.TRAVIS || process.env.TRAVIS_PULL_REQUEST) {
|
||||||
if (process.env.TRAVIS_PULL_REQUEST) {
|
|
||||||
console.log('will run with phantom');
|
|
||||||
return ['PhantomJS'];
|
return ['PhantomJS'];
|
||||||
} else {
|
} else {
|
||||||
return ['SL_chrome', 'SL_firefox'];
|
return ['SL_chrome', 'SL_firefox'];
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
return ['PhantomJS'];
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user