-
-
- ---
- dist: bionic
- stages:
- - test
- - lint
- - name: release
- if: branch = master AND type != pull_request
-
- sudo: required
- cache: bundler
- language: ruby
-
- services:
- - docker
-
-
-
- env:
- matrix:
- - INSTANCE: default-debian-10-develop-py3
- - INSTANCE: default-ubuntu-1804-develop-py3
-
-
-
-
-
- - INSTANCE: default-debian-9-2019-2-py3
- - INSTANCE: default-ubuntu-1804-2019-2-py3
-
-
-
-
-
- - INSTANCE: default-debian-9-2018-3-py2
-
-
-
-
-
-
-
- - INSTANCE: default-ubuntu-1604-2017-7-py2
-
-
-
-
-
-
- script:
- - bin/kitchen verify ${INSTANCE}
-
- jobs:
- include:
-
- - stage: lint
- language: node_js
- node_js: lts/*
- before_install: skip
- script:
-
-
- - pip install --user yamllint>=1.17.0
- - yamllint -s .
-
- - npm install @commitlint/config-conventional -D
- - npm install @commitlint/travis-cli -D
- - commitlint-travis
-
- - stage: release
- language: node_js
- node_js: lts/*
- before_install: skip
- script:
-
- - export MAINTAINER_TOKEN=${GH_TOKEN}
- - go get github.com/myii/maintainer
- - maintainer contributor
-
-
- - npm install @semantic-release/changelog@3 -D
- - npm install @semantic-release/exec@3 -D
- - npm install @semantic-release/git@7 -D
- deploy:
- provider: script
- skip_cleanup: true
- script:
-
- - npx semantic-release@15
|