0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #17688 from twbs/fix-17552

Travis: install npm dependencies using shrinkwrap
This commit is contained in:
Chris Rebert 2015-09-24 20:20:18 -07:00
commit c240dd3549
3 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ before_install:
- if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then export TWBS_DO_VALIDATOR=0; fi
install:
- bundle install --deployment --jobs=3
- cp grunt/npm-shrinkwrap.json ./
- npm install -g grunt-cli
- npm install
cache:

View File

@ -509,7 +509,7 @@ module.exports = function (grunt) {
if (err) {
grunt.fail.warn(err);
}
var dest = 'test-infra/npm-shrinkwrap.json';
var dest = 'grunt/npm-shrinkwrap.json';
fs.renameSync('npm-shrinkwrap.json', dest);
grunt.log.writeln('File ' + dest.cyan + ' updated.');
done();