mirror of https://github.com/grpc/grpc-node.git
Splitting kokoro.sh into run-tests.sh.
This commit is contained in:
parent
454c1f1879
commit
84304ff1c2
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Copyright 2017 gRPC authors.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
cd $(dirname $0)
|
||||||
|
|
||||||
|
# Install gRPC and its submodules.
|
||||||
|
git submodule update --init
|
||||||
|
git submodule foreach --recursive git submodule update --init
|
||||||
|
|
||||||
|
./run-tests.sh
|
|
@ -22,11 +22,9 @@ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | b
|
||||||
set -e
|
set -e
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
# Install gRPC and its submodules.
|
if [ "x$node_versions" == "x" ] ; then
|
||||||
git submodule update --init
|
node_versions="6 7 8"
|
||||||
git submodule foreach --recursive git submodule update --init
|
fi
|
||||||
|
|
||||||
node_versions="6 7 8"
|
|
||||||
|
|
||||||
# TODO(mlumish): Add electron tests
|
# TODO(mlumish): Add electron tests
|
||||||
|
|
|
@ -15,5 +15,5 @@
|
||||||
# Config file for Kokoro (in protobuf text format)
|
# Config file for Kokoro (in protobuf text format)
|
||||||
|
|
||||||
# Location of the continuous shell script in repository.
|
# Location of the continuous shell script in repository.
|
||||||
build_file: "grpc-node/kokoro-linux.sh"
|
build_file: "grpc-node/kokoro.sh"
|
||||||
timeout_mins: 60
|
timeout_mins: 60
|
||||||
|
|
|
@ -15,5 +15,5 @@
|
||||||
# Config file for Kokoro (in protobuf text format)
|
# Config file for Kokoro (in protobuf text format)
|
||||||
|
|
||||||
# Location of the continuous shell script in repository.
|
# Location of the continuous shell script in repository.
|
||||||
build_file: "grpc-node/kokoro-linux.sh"
|
build_file: "grpc-node/kokoro.sh"
|
||||||
timeout_mins: 60
|
timeout_mins: 60
|
||||||
|
|
Loading…
Reference in New Issue