mirror of https://github.com/grpc/grpc-node.git
Merge pull request #32 from matt-kwong/kokoro
Add Kokoro config for Linux/MacOS
This commit is contained in:
commit
838a0d7711
|
|
@ -31,5 +31,10 @@ for version in ${node_versions[@]}
|
||||||
do
|
do
|
||||||
nvm install $version
|
nvm install $version
|
||||||
# Rebuild libraries and run tests
|
# Rebuild libraries and run tests
|
||||||
./node_modules/.bin/gulp native.test
|
./node_modules/.bin/gulp native.test || FAILED="true"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ "$FAILED" != "" ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# Config file for Kokoro (in protobuf text format)
|
||||||
|
|
||||||
|
# Location of the continuous shell script in repository.
|
||||||
|
build_file: "grpc-node/kokoro-linux.sh"
|
||||||
|
timeout_mins: 60
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# Config file for Kokoro (in protobuf text format)
|
||||||
|
|
||||||
|
# Location of the continuous shell script in repository.
|
||||||
|
build_file: "grpc-node/kokoro-linux.sh"
|
||||||
|
timeout_mins: 60
|
||||||
Loading…
Reference in New Issue