blob: 7e72eac2f540d5f67c7e7f2b5f3d8b8d4ee05971 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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.
#
sudo: required
dist: xenial
jdk: openjdk8
language: java
services:
- docker
# required to support multi-stage build
addons:
apt:
packages:
- docker-ce
before_install:
- "cat /etc/os-release"
- "./tools/travis/setup.sh"
install: true
script:
- "./tools/travis/build.sh && ./tools/travis/test.sh"
deploy:
- provider: script
script: "./tools/travis/publish.sh openwhisk ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}"
on:
tags: true
all_branches: true
repo: apache/openwhisk-runtime-ruby
- provider: script
script: "./tools/travis/publish.sh openwhisk 2.5 nightly && ./tools/travis/publish.sh openwhisk 2.6 nightly"
on:
branch: master
repo: apache/openwhisk-runtime-ruby
env:
global:
- secure: XzlQe3SFrxEgkGGeC5vLYp1LqrpRZwZg12zD6SGlbAqzXSOBBj4bC5aGsUc4bJHTE5FqfwZYC28H1b2dT5ixIhsm3Klkzaw0WP8FwMk0N300XuJ+TsVg0ByETFyycyHG4uvgvwhGCqm+mkCXkqacO0aC1zzAKfQPRfbfhbK0ofgYcpkjecUqPR/glk7iD5NZMbajjQP652AQYa78C0yGccBAvv1sxxq8eKokwTTKyiN1yCtyXm7q5lTQsiRkpt6WqQXeNDvJvAgTfjoc3zL+SUqLHt2eE4TFzmfRINyiKYQwxQubbvpZudS9LYY3vHNcJGNuHd+e88WgjlR9x9PajKJ+9nimZUuNSgFSX5VQVPs4Ebp12aqMm/7Zt5pISzHoHGX5Vt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TxNgh6qvi0e3UMHiIxC4QsJFGIcSGakn0mCr/EIusbl1dJKUsuaiL57zHMeg0Bw5gCqZwfQszhNC1A1/Vm5Vf8hK6nxRGfBVW//2udpu1PUd/6dmHVx6ZGepY8EpVsuBJxdljUTEQGquo2hnLSMF9JDzT8dzjoczvI0K6oQuWPjA8ZDn6ghpHzERoq0bq24Z2Z8nE+BlDAwwgxxr0FaHeZ59ZawJ7FVxoGZicXjSkLKhO+TEuvdvZ2XRZl0yge0Lvqr6Fha3Oogw6AWkfdAxUtGJ7VVdKs0nSqEFCk7yPUV+V8BlFG6v5l56b5BcdFFQ1b5+3LXJqerSecCJH/3BOp+PwRfveLF8QeTeVn5834rcgTSJdc3b28zb13vrDY0ZdWLy7R5KOZFufGuImkmfJVbEbkLvt5wcAmvJbJS5HIxgUH+Djf23NgC1k12jkVVGFKrcUVE1it0be0uR+y50LqSU9oAGvik+BJRlrIbeETtJaJM73bs/i7b32cP2Of2CIJCxfLDjML8/xjqmjlpVwUaqWUfwtms0ubRqNyhvRoWPF6vz6QnHHJ4l8w3tuYR+WudMwRmfVltljRnyAmrQBSmGY/kvFqxAMPTeg=
on_pull_requests: false
on_success: change
on_failure: always
webhooks:
urls:
# travis2slack webhook to enable DMs on openwhisk-team.slack.com to PR authors with TravisCI results
secure: "Q7RlUa8teJUFz0zTugGUanSNqhLYOq3mnh0a6LSslDflkKNAfdd7FFcYJdHOl/iV0Dk+Y14aPgDpidZ/jt3vwlaSkFjiJMMqdLC4oDt+DEzrBT+RLyIFQo9n/i+7T+n6Ah3+Qix1l2h5O1gM0N2mek/76ih2kjz6apGSkL3/Ketr/39wFx6R4bl9AfDZjZqweFhsK4oleZXD9Mj40qWNf/BfCmUeqBXupZBxtW/RqIGSwtjjnH3vskF85z8KLuLrDgCgQ0K6h8yml9kiVdX5dMvOt290k7y17E+oKVFdpTfrUBNkfo1hCxVMEbHIiLT7yhqmlY08GfkPm3QqPeAITbFSTJmkWGpHHbXXuXgzolud+Twe2gbloWXyz/EC+UmFRRZhblHCDeui7fH7cTXrNr/ICvh4b87V/J9aHOVcftYsfRdO97zTwduy27RFLNL05B6WzmJaqzzDR2L0SssGvRx8PkPk8JS64kpHGWV4qb7dYUUTgbvI6cs4Y+YGaZqe9MihzG7+ecHNY1VxTqICTGuPfuRe+AopDv/74DkLa/kGqsJHWhK0xAm5k+XtyxYUqKfYqcNqmd3wQvfGopV8xwD4XsCtacDuuFzcPGdiybjZpG5BldRk4yU0kQe5QH4SbWWelDQ0W5KunLq3giIhf53ACvy0Kgm5V2Y+/pUC8HI="