diff --git a/.travis.yml b/.travis.yml index 3819100ce0c..da2063a05a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -264,7 +264,9 @@ script: grunt ; # Add all files to the git index and then run diff --cached to see all changes. # This ensures that we get the status of all files, including new files. + # We ignore npm-shrinkwrap.json to make the tasks immune to npm changes. git add . ; + git reset -- npm-shrinkwrap.json ; git diff --cached --exit-code ; fi