File tree Expand file tree Collapse file tree 3 files changed +11
-24
lines changed
Expand file tree Collapse file tree 3 files changed +11
-24
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
3- - 6
4- - 4
5- - 0.12
6-
7- # To test Node v4, Travis needs to use a newer C++ compiler.
8- # Source: https://github.com/nodejs/nan/issues/435#issuecomment-136063745
9- addons :
10- apt :
11- sources :
12- - ubuntu-toolchain-r-test
13- packages :
14- - g++-4.8
3+ - 6
4+ - 4
5+ - 0.12
6+ os :
7+ - linux
8+ - osx
159before_install :
16- - export CXX=g++-4.8
17- - " $CXX --version"
10+ - npm install -g npm # Force using the latest npm to get dedupe during install
1811script : " ./scripts/build.sh"
1912before_deploy : " ./scripts/release.sh"
20- deploy :
21- provider : npm
22- email : sawchuk@gmail.com
23- api_key :
24- secure : H8H4ATiE64gTgiectfIYatsSnm7uDQrgQPvnLp7Ra1piElS+f1lLzdiN8+pDGP3h+OHU/PE8KsXhtVLfYTX5zroo3Y70n5TE4uTO62PL6WZl5R1+L5bUKcrffcHMsjH0mmiK5d0TW032tMcybAHsPcj9wiOZpf6aBIEEFY/1V5o=
25- on :
26- tags : true
27- repo : GoogleCloudPlatform/google-cloud-node
28- all_branches : true
2913sudo : false
Original file line number Diff line number Diff line change 2929 "docs" : " node ./scripts/docs/packages.js" ,
3030 "bundle" : " node ./scripts/docs/bundle.js" ,
3131 "lint" : " jshint scripts/ packages/ system-test/ test/ && jscs packages/ system-test/ test/" ,
32- "test" : " npm run docs && npm run bundle && mocha --timeout 5000 test/docs.js packages/*/test/*.js" ,
32+ "test" : " npm run docs && npm run bundle && mocha --timeout 5000 --bail test/docs.js packages/*/test/*.js" ,
3333 "system-test" : " mocha packages/*/system-test/*.js --no-timeouts --bail" ,
3434 "cover" : " istanbul cover _mocha --report lcovonly -x 'packages/*/src/v*/*.js' -- --no-timeouts --bail packages/*/test/*.js -R spec" ,
3535 "coveralls" : " npm run cover && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
Original file line number Diff line number Diff line change @@ -726,6 +726,9 @@ Table.prototype.getRows = function(options, callback) {
726726 * //-
727727 * // Load data from a file in your Cloud Storage bucket.
728728 * //-
729+ * var gcs = require('@google-cloud/storage')({
730+ * projectId: 'grape-spaceship-123'
731+ * });
729732 * var data = gcs.bucket('institutions').file('data.csv');
730733 * table.import(data, function(err, job, apiResponse) {});
731734 *
You can’t perform that action at this time.
0 commit comments