only build on travis

This commit is contained in:
Felix Wu
2018-09-14 15:51:48 +02:00
committed by Felix Wu
parent 9a43e93040
commit 9785346165

View File

@ -27,10 +27,9 @@ if (
process.exit(0); process.exit(0);
} }
if ( if (
// util.isTravisCI() && util.isTravisCI() &&
// (process.env['TRAVIS_EVENT_TYPE'] === 'cron' || (process.env['TRAVIS_EVENT_TYPE'] === 'cron' ||
// process.env['TRAVIS_EVENT_TYPE'] === 'api') process.env['TRAVIS_EVENT_TYPE'] === 'api')
true
) { ) {
console.log( console.log(
`${chalk.green( `${chalk.green(