mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00: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:
parent
23a59aebad
commit
c63fbbbcd1
1 changed files with 3 additions and 1 deletions
|
|
@ -7,7 +7,9 @@ var version;
|
|||
module.exports = {
|
||||
|
||||
init: function() {
|
||||
shell.exec('npm install');
|
||||
if (!process.env.TRAVIS) {
|
||||
shell.exec('npm install');
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue