Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Commit ba30fa6

Browse files
dpebotJustinBeckwith
authored andcommitted
Update CI config (#130)
1 parent 67e961e commit ba30fa6

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.kokoro/samples-test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ export GCLOUD_PROJECT=long-door-651
2424

2525
cd $(dirname $0)/..
2626

27+
# Run a pre-test hook, if a pre-samples-test.sh is in the project
28+
if [ -f .kokoro/pre-samples-test.sh ]; then
29+
. .kokoro/pre-samples-test.sh
30+
fi
31+
2732
npm install
2833

2934
# Install and link samples

.kokoro/test.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
cd /d %~dp0
1818
cd ..
1919

20+
call npm install -g npm@5 || goto :error
21+
2022
call npm install || goto :error
2123
call npm run test || goto :error
2224

0 commit comments

Comments
 (0)