| # |
| # 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.16.x" # Do not fix the patch level to automatically get security fixes. |
| services: |
| - docker |
| |
| notifications: |
| email: false |
| webhooks: |
| urls: |
| # travis2slack webhook to enable DMs on openwhisk-team.slack.com to PR authors with TravisCI results |
| secure: "oucv10cFn2nM5XpwIRY0xbJw0m7gkFABFUD/wj4oubpO64yjeY/RUHkYXNHXKESd6ME9TngdmvkjCdetMTKK1wo/jUbSh6wGxn1ND4f3E9ds/6PS4gbMEDdKQWt/VKqXHtx3vUKDrvPvTNv9CDZ6lfBA5SNcN4E2gIoiORaX73CrPhA3tFTgPG2+ESi31/QstMaomAszyPGvYwDSdCALk0qsdjxJgpUzIm11vj5gPD5PPTnJBsAg0yC52WTOTYtORoEJUuhBXVwEpoZ5qPOusoHzFqq6BXsIU6zPEXSkHXcyCxYGY7V4P+FkAtteOBqMFALpv+klVTRVlOjwiRSSeUD45N1+fBnCgYSXLIPJunRyj1epsDSepTpOBlw1MWZ4LzfGw8897wdS2oZXju9adS5Wv2f7VksaA3meuYrZ3ohSKVRdeUfZwEh29E9rUQTYyffzmn9Sh6TDjObUbZlhhdXRPjzwB6FoAcuMKFvRK0Sliwhzo2qZ6Tzuo8rBt+U74YnHlFzYwFF8kSsm+jAq8lxMGmKDdFFvUASxp5bAG6ZfSHVvQKD143T164en4E41mlWTjIDKInSe85d12uX6ziIpbEpkHMWvA5+8s9eIc95E0FQpAp6SG/ZeM0TJqAS10JS1gfWZ+PDJwCk9mUogJ4JVQP4ccT7zqUXVnEKo33U=" |
| |
| 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.17 nightly && ./tools/travis/publish.sh openwhisk 1.18 nightly" |
| on: |
| branch: master |
| repo: apache/openwhisk-runtime-go |
| env: |
| global: |
| - secure: "JPcDPdaYlZ4m7LRdJbhaCAhe0as/NQ/4lAiYEJoG6mzNLS/XA7kNWK7iCzk+4Tym90KcjTmXzAHGukdaBYrOiwNGUp6sWiKbtqVryKuoSgINxE+U5/udTyxbJuLEBtHBpAbolvXC4oE7hncGGe25CgrH0iefl2nuWO1etbddXi8EfWzYfzT9M7lhkeGcH60h+yBfyV/mSa35so7OSuLYoCCAKsZWP5xCagSo4NvvOOPBH6GB6bRLBdYhQ5k5WZGh51JOmuj9dKjoFjFqnvYUJUlkQVFqlqyM14JbJO2Oib+LLC9+6BM8aCznr9NfIwqBzcr10sqTrBBiXwJNjeaN0W474fzkFQNq2MwKLAwpWCBuc2U91BzaIGK1jpx92z6FfwB6muVQAiljEgi9N8Xpi6z9Hjiqsk3cQLHdf2NNYMrTKZ3NUIvL0w0hphTv7trDm2sJmVO4Jx6iXe1T/6nBsFcX0RrH0Yck+GMXldp+uoIyVWuMNvhu8rGD6bAd61QaSNyyRWcVYIjyyqMwH+ppuo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