mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Merge pull request #229 from nicolasnoble/check-node
Checking node version during tests to see if nvm worked properly.
This commit is contained in:
commit
5da1bd4077
@ -41,6 +41,8 @@ for %%v in (4.8.4 6.11.3 7.9.0 8.5.0) do (
|
||||
mkdir reports\node%%v
|
||||
SET JUNIT_REPORT_PATH=reports/node%%v
|
||||
|
||||
node -e "process.exit(process.version.startsWith('v%%v') ? 0 : -1)" || goto :error
|
||||
|
||||
call .\node_modules\.bin\gulp clean.all || SET FAILED=1
|
||||
call .\node_modules\.bin\gulp setup.windows || SET FAILED=1
|
||||
call .\node_modules\.bin\gulp native.test || SET FAILED=1
|
||||
|
||||
@ -53,6 +53,8 @@ do
|
||||
|
||||
mkdir -p "reports/node$version"
|
||||
|
||||
node -e 'process.exit(process.version.startsWith("v'$version'") ? 0 : -1)'
|
||||
|
||||
# Install dependencies and link packages together.
|
||||
./node_modules/.bin/gulp clean.all
|
||||
./node_modules/.bin/gulp setup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user