Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <github@chrisrebert.com>2015-09-25 06:20:18 +0300
committerChris Rebert <github@chrisrebert.com>2015-09-25 06:20:18 +0300
commitc240dd3549ea53c4d23e729ddecc88497eeed7c7 (patch)
tree630d5f336683c89cf44d0074c173290b373b970f
parent22c8c1e887bd6b534ca4e7eca81126bf3c7a8233 (diff)
parent7d712bb4a564879cb4f7111459c493396e746b9a (diff)
Merge pull request #17688 from twbs/fix-17552
Travis: install npm dependencies using shrinkwrap
-rw-r--r--.travis.yml1
-rw-r--r--Gruntfile.js2
-rw-r--r--grunt/npm-shrinkwrap.json (renamed from test-infra/npm-shrinkwrap.json)0
3 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index a5a1bac2bc..387796c5f2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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:
diff --git a/Gruntfile.js b/Gruntfile.js
index e4d0e43e7c..dbcf935a82 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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();
diff --git a/test-infra/npm-shrinkwrap.json b/grunt/npm-shrinkwrap.json
index f83dddf9e4..f83dddf9e4 100644
--- a/test-infra/npm-shrinkwrap.json
+++ b/grunt/npm-shrinkwrap.json