Skip to content

Commit a57fa2e

Browse files
force npm 3
1 parent 8c31399 commit a57fa2e

2 files changed

Lines changed: 2 additions & 22 deletions

File tree

.travis.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,8 @@ node_js:
66
os:
77
- linux
88
- osx
9-
10-
# To test Node v4, Travis needs to use a newer C++ compiler.
11-
# Source: https://github.com/nodejs/nan/issues/435#issuecomment-136063745
12-
addons:
13-
apt:
14-
sources:
15-
- ubuntu-toolchain-r-test
16-
packages:
17-
- g++-4.8
189
before_install:
19-
- export CXX=g++-4.8
20-
- "$CXX --version"
10+
- npm install -g npm # Force using the latest npm to get dedupe during install
2111
script: "./scripts/build.sh"
2212
before_deploy: "./scripts/release.sh"
23-
deploy:
24-
provider: npm
25-
26-
api_key:
27-
secure: H8H4ATiE64gTgiectfIYatsSnm7uDQrgQPvnLp7Ra1piElS+f1lLzdiN8+pDGP3h+OHU/PE8KsXhtVLfYTX5zroo3Y70n5TE4uTO62PL6WZl5R1+L5bUKcrffcHMsjH0mmiK5d0TW032tMcybAHsPcj9wiOZpf6aBIEEFY/1V5o=
28-
on:
29-
tags: true
30-
repo: GoogleCloudPlatform/google-cloud-node
31-
all_branches: true
3213
sudo: false

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
},
3737
"license": "Apache-2.0",
3838
"engines": {
39-
"node": ">=0.12.0",
40-
"npm": ">3.0.0"
39+
"node": ">=0.12.0"
4140
}
4241
}

0 commit comments

Comments
 (0)