Skip to content

Commit 63ecdbe

Browse files
committed
Install dependencies and update shrinkwrap before deployment (close #633)
1 parent 1d2710d commit 63ecdbe

File tree

4 files changed

+17
-9
lines changed

4 files changed

+17
-9
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ install:
66
- npm install -g grunt-cli
77

88
- cd core
9-
- npm install --dev
9+
- npm install --only=dev --quiet
1010
- grunt ts
1111
- grunt dtsGenerator
1212
- cd ..
1313

14+
- npm install --no-optional
1415
- npm install ./core --save # Must be cleaned from package.json before deploy
15-
- npm install --dev
16+
- npm dedupe
17+
- npm shrinkwrap --also=dev
1618
- wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
1719
- unzip ./ngrok-stable-linux-amd64.zip
1820
before_script:
@@ -23,11 +25,13 @@ script:
2325
- grunt travis
2426
deploy:
2527
- provider: script
28+
skip_cleanup: true
2629
script: ./.travis/deploy.py
2730
on:
2831
condition: '"$(.travis/is_core_release_tag.sh $TRAVIS_TAG)" == "" && $? == 0'
2932
tags: true
3033
- provider: script
34+
skip_cleanup: true
3135
script: ./.travis/deploy.py
3236
on:
3337
condition: '"$(.travis/is_tracker_release_tag.sh $TRAVIS_TAG)" == "" && $? == 0'

core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"@types/es6-shim": "0.31.34",
1111
"@types/uuid": "^2.0.29"
1212
},
13+
"dependencies": {
14+
"uuid": "2.0.3"
15+
},
1316
"contributors": [
1417
"Alex Dean",
1518
"Simon Andersson",
@@ -28,8 +31,5 @@
2831
"events",
2932
"open source"
3033
],
31-
"license": "Apache-2.0",
32-
"dependencies": {
33-
"uuid": "2.0.3"
34-
}
34+
"license": "Apache-2.0"
3535
}

npm-shrinkwrap.json

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"snowplow-tracker-core": "0.5.0",
99
"murmurhash": "0.0.2",
1010
"uuid": "2.0.3",
11-
"sha1": "git://github.com/pvorb/node-sha1.git#v1.0.0"
11+
"sha1": "git://github.com/pvorb/node-sha1.git#910081c83f3661507d9d89e66e3f38d8b59d5559"
1212
},
1313
"devDependencies": {
1414
"JSON": "1.0.0",
@@ -17,7 +17,7 @@
1717
"grunt-browserify": "5.0.0",
1818
"grunt-contrib-concat": "0.5.1",
1919
"grunt-lodash": "0.5.1",
20-
"grunt-yui-compressor": "git://github.com/snowplow/grunt-yui-compressor.git#0.4.0",
20+
"grunt-yui-compressor": "git://github.com/snowplow/grunt-yui-compressor.git#fc70c3aa41bad8848b3569d6ea6ee70d270fd8a6",
2121
"intern": "3.3.2",
2222
"js-base64": "2.1.9",
2323
"lodash-cli": "3.10.1",

0 commit comments

Comments
 (0)