mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-14 12:08:27 +08:00
chore: disable npm install on Travis
Grunt is configured to run `npm install` before every task. That is convenient when switching a branch for example. On Travis, this makes no sense and is causing tons of NPM warnings (eg. packages not defining repository field etc).
This commit is contained in:
@@ -7,7 +7,9 @@ var version;
|
||||
module.exports = {
|
||||
|
||||
init: function() {
|
||||
shell.exec('npm install');
|
||||
if (!process.env.TRAVIS) {
|
||||
shell.exec('npm install');
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user