Merge pull request #32 from matt-kwong/kokoro

Add Kokoro config for Linux/MacOS
This commit is contained in:
Nicolas Noble 2017-09-15 09:35:50 -07:00 committed by GitHub
commit 838a0d7711
3 changed files with 44 additions and 1 deletions

View File

@ -31,5 +31,10 @@ for version in ${node_versions[@]}
do
nvm install $version
# Rebuild libraries and run tests
./node_modules/.bin/gulp native.test
./node_modules/.bin/gulp native.test || FAILED="true"
done
if [ "$FAILED" != "" ]
then
exit 1
fi

19
test/kokoro/linux.cfg Normal file
View File

@ -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

19
test/kokoro/macos.cfg Normal file
View File

@ -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