Sfoglia il codice sorgente

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 anni fa
parent
commit
51271b60fc
Nessun account collegato all'indirizzo email del committer
2 ha cambiato i file con 10 aggiunte e 20 eliminazioni
  1. +10
    -0
      .cirrus.yml
  2. +0
    -20
      .travis.yml

+ 10
- 0
.cirrus.yml Vedi File

@@ -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 Vedi File

@@ -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

Loading…
Annulla
Salva