From 51271b60fc062fe6eb9cb9077e2feedd782cb69d Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Tue, 28 May 2019 22:30:53 +0100 Subject: [PATCH] ci(cirrus): use cirrus-ci alongisde travis-ci * Based on response from Cirrus CI: - https://github.com/fkorotkov/nginx-formula/pull/1 --- .cirrus.yml | 10 ++++++++++ .travis.yml | 20 -------------------- 2 files changed, 10 insertions(+), 20 deletions(-) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..56ef08c --- /dev/null +++ b/.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 diff --git a/.travis.yml b/.travis.yml index e176ffd..66a07b5 100644 --- a/.travis.yml +++ b/.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