-
-
- ---
- stages:
- - test
- - commitlint
- - name: release
- if: branch = master AND type != pull_request
-
- sudo: required
- cache: bundler
- language: ruby
- dist: xenial
-
- services:
- - docker
-
-
-
- env:
- matrix:
- - INSTANCE: default-debian-10-develop-py3
-
-
-
-
-
-
- - INSTANCE: default-ubuntu-1804-2019-2-py3
-
-
-
- - INSTANCE: default-amazonlinux-2-2019-2-py2
-
-
-
- - INSTANCE: default-fedora-29-2018-3-py2
- - INSTANCE: default-opensuse-leap-15-2018-3-py2
-
-
-
- - INSTANCE: default-centos-6-2017-7-py2
-
-
-
-
- script:
- - bin/kitchen verify ${INSTANCE}
-
- jobs:
- include:
-
- - stage: commitlint
- language: node_js
- node_js: lts/*
- before_install: skip
- script:
- - 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
|