File tree 5 files changed +19
-3
lines changed
5 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 68
68
environment :
69
69
NPM_CONFIG_PREFIX : /home/node/.npm-global
70
70
- run : npm test
71
- - run : node_modules/.bin/codecov
72
-
73
71
node8 :
74
72
docker :
75
73
- image : ' node:8'
Original file line number Diff line number Diff line change @@ -13,6 +13,17 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
13
13
# Use the trampoline script to run in docker.
14
14
build_file: " nodejs-bigtable/.kokoro/trampoline.sh"
15
15
16
+ # Bring in codecov.io master token into the build as $KOKORO_KEYSTORE_DIR/73713_dpebot_codecov_token
17
+ before_action {
18
+ fetch_keystore {
19
+ keystore_resource {
20
+ keystore_config_id: 73713
21
+ keyname: " dpebot_codecov_token"
22
+ backend_type: FASTCONFIGPUSH
23
+ }
24
+ }
25
+ }
26
+
16
27
# Configure the docker image for kokoro-trampoline.
17
28
env_vars: {
18
29
key: " TRAMPOLINE_IMAGE"
Original file line number Diff line number Diff line change 17
17
cd /d %~dp0
18
18
cd ..
19
19
20
+ call npm install -g npm@ 5 || goto :error
21
+
20
22
call npm install || goto :error
21
23
call npm run test || goto :error
22
24
Original file line number Diff line number Diff line change @@ -22,4 +22,5 @@ cd $(dirname $0)/..
22
22
23
23
npm install
24
24
npm test
25
- node_modules/.bin/codecov
25
+
26
+ bash $KOKORO_GFILE_DIR /codecov.sh
Original file line number Diff line number Diff line change
1
+ ---
2
+ codecov :
3
+ ci :
4
+ - source.cloud.google.com
You can’t perform that action at this time.
0 commit comments