|
| 1 | +stages: |
| 2 | + - test |
| 3 | + # - commitlint |
| 4 | + # - name: release |
| 5 | + # if: branch = master AND type != pull_request |
| 6 | + |
| 7 | +sudo: required |
| 8 | +cache: bundler |
| 9 | +language: ruby |
| 10 | + |
| 11 | +services: |
| 12 | + - docker |
| 13 | + |
| 14 | +before_install: |
| 15 | + - bundle install |
| 16 | + |
| 17 | +# Make sure the instances listed below match up with |
| 18 | +# the `platforms` defined in `kitchen.yml` |
| 19 | +env: |
| 20 | + matrix: |
| 21 | + - INSTANCE: default-debian-9-2019-2-py3 |
| 22 | + - INSTANCE: default-ubuntu-1804-2019-2-py3 |
| 23 | + - INSTANCE: default-centos-7-2019-2-py2 |
| 24 | + - INSTANCE: default-fedora-29-2019-2-py2 |
| 25 | + - INSTANCE: default-opensuse-423-2018-3-py2 |
| 26 | + - INSTANCE: default-debian-8-2018-3-py2 |
| 27 | + - INSTANCE: default-ubuntu-1604-2018-3-py2 |
| 28 | + - INSTANCE: default-fedora-28-2018-3-py2 |
| 29 | + - INSTANCE: default-debian-8-2017-7-py2 |
| 30 | + - INSTANCE: default-ubuntu-1604-2017-7-py2 |
| 31 | + |
| 32 | +script: |
| 33 | + - bundle exec kitchen verify ${INSTANCE} |
| 34 | + |
| 35 | +# jobs: |
| 36 | +# include: |
| 37 | +# # Define the commitlint stage |
| 38 | +# - stage: commitlint |
| 39 | +# language: node_js |
| 40 | +# node_js: lts/* |
| 41 | +# before_install: skip |
| 42 | +# script: |
| 43 | +# - npm install @commitlint/config-conventional -D |
| 44 | +# - npm install @commitlint/travis-cli -D |
| 45 | +# - commitlint-travis |
| 46 | +# # Define the release stage that runs semantic-release |
| 47 | +# - stage: release |
| 48 | +# language: node_js |
| 49 | +# node_js: lts/* |
| 50 | +# before_install: skip |
| 51 | +# script: |
| 52 | +# # Update `AUTHORS.md` |
| 53 | +# - export MAINTAINER_TOKEN=${GH_TOKEN} |
| 54 | +# - go get github.com/myii/maintainer |
| 55 | +# - maintainer contributor |
| 56 | +# |
| 57 | +# # Install all dependencies required for `semantic-release` |
| 58 | +# - npm install @semantic-release/changelog@3 -D |
| 59 | +# - npm install @semantic-release/exec@3 -D |
| 60 | +# - npm install @semantic-release/git@7 -D |
| 61 | +# deploy: |
| 62 | +# provider: script |
| 63 | +# skip_cleanup: true |
| 64 | +# script: |
| 65 | +# # Run `semantic-release` |
| 66 | +# - npx semantic-release@15 |
| 67 | + |
0 commit comments