Skip to content

Commit

Permalink
ci(cirrus): use cirrus-ci alongisde travis-ci
Browse files Browse the repository at this point in the history
* Based on response from Cirrus CI:
  - fkorotkov/nginx-formula#1
  • Loading branch information
myii committed May 28, 2019
1 parent 7a94234 commit 51271b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
10 changes: 10 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -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
20 changes: 0 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 51271b6

Please sign in to comment.