浏览代码

ci(cirrus): use cirrus-ci alongisde travis-ci

* Based on response from Cirrus CI:
  - https://github.com/fkorotkov/nginx-formula/pull/1
tags/v0.3.0
Imran Iqbal 5 年前
父节点
当前提交
51271b60fc
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 10 次插入20 次删除
  1. +10
    -0
      .cirrus.yml
  2. +0
    -20
      .travis.yml

+ 10
- 0
.cirrus.yml 查看文件

@@ -0,0 +1,10 @@
docker_builder:
name: Test $INSTANCE
env:
matrix:
- INSTANCE: debian-9
- INSTANCE: debian-8
- INSTANCE: ubuntu-1804
- INSTANCE: ubuntu-1604
bundle_install_script: bundle install
verify_script: bundle exec kitchen verify $INSTANCE

+ 0
- 20
.travis.yml 查看文件

@@ -1,28 +1,8 @@
stages:
- test
- commitlint
- name: release
if: branch = master AND type != pull_request

sudo: required
cache: bundler
language: ruby

services:
- docker

# Make sure the instances listed below match up with
# the `platforms` defined in `kitchen.yml`
env:
matrix:
- INSTANCE: debian-9
- INSTANCE: debian-8
- INSTANCE: ubuntu-1804
- INSTANCE: ubuntu-1604

script:
- bundle exec kitchen verify ${INSTANCE}

jobs:
include:
# Define the commitlint stage

正在加载...
取消
保存