| # |
| # 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 |
| language: go |
| go: |
| - "1.12.9" |
| services: |
| - docker |
| notifications: |
| email: true |
| before_install: |
| - "./tools/travis/setup.sh" |
| install: true |
| script: |
| - "./tools/travis/scan.sh && ./tools/travis/build.sh && ./tools/travis/test.sh" |
| after_failure: cat .gogradle/reports/test/index.html |
| deploy: |
| - provider: script |
| skip_cleanup: true |
| script: "./tools/travis/publish.sh openwhisk ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}" |
| on: |
| tags: true |
| all_branches: true |
| repo: apache/openwhisk-runtime-go |
| - provider: script |
| skip_cleanup: true |
| script: "./tools/travis/publish.sh openwhisk actionloop nightly" |
| on: |
| branch: master |
| repo: apache/openwhisk-runtime-go |
| - provider: script |
| skip_cleanup: true |
| script: "./tools/travis/publish.sh openwhisk 1.11 nightly && ./tools/travis/publish.sh openwhisk 1.12 nightly" |
| on: |
| branch: master |
| repo: apache/openwhisk-runtime-go |
| env: |
| global: |
| - secure: GNKMZjEW1BKBb8NSiFB/Bogh0V5co5TefLLaj9oYJrKCP8rheFY4mWwINR74dYwSFIVmBhuuwZCm62zZwzb2TTivjQihOwU9SeTaUvJHlcLu6j1T/gTcMX5dkDOrdzqZaKoU5NpMbvad1fnDfEG9oU/VE7fARAxziZ2yBXOGkt2p2whkGXrs43gMyRKJv7ytUwpjvzhD48hJHgn0Eq6EwVIYxO5gJfGAhiA0ucH75c3jI4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