diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..12bb10ef --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,35 @@ +version: 2.1 + +orbs: + # Always take the latest version of the orb, this allows us to + # run specs against Solidus supported versions only without the need + # to change this configuration every time a Solidus version is released + # or goes EOL. + solidusio_extensions: solidusio/extensions@volatile + +jobs: + run-specs-with-postgres: + executor: solidusio_extensions/postgres + steps: + - solidusio_extensions/run-tests + run-specs-with-mysql: + executor: solidusio_extensions/mysql + steps: + - solidusio_extensions/run-tests + +workflows: + "Run specs on supported Solidus versions": + jobs: + - run-specs-with-postgres + - run-specs-with-mysql + "Weekly run specs against master": + triggers: + - schedule: + cron: "0 0 * * 4" # every Thursday + filters: + branches: + only: + - master + jobs: + - run-specs-with-postgres + - run-specs-with-mysql diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5e8003aa..00000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -dist: trusty -sudo: required -cache: bundler -language: ruby -before_install: - - gem update --system # https://github.com/travis-ci/travis-ci/issues/8978 - - gem install bundler -script: - - bundle exec rubocop - - bundle exec rake diff --git a/README.md b/README.md index cb11c0a6..b178e45f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Solidus Internationalization -[![Build Status](https://travis-ci.org/solidusio/solidus_i18n.svg?branch=master)](https://travis-ci.org/solidusio/solidus_i18n) +[![CircleCI](https://circleci.com/gh/solidusio/solidus_i18n.svg?style=svg)](https://circleci.com/gh/solidusio/solidus_i18n) [![Code Climate](https://codeclimate.com/github/solidusio/solidus_i18n/badges/gpa.svg)](https://codeclimate.com/github/solidusio/solidus_i18n) [![Gem Version](https://badge.fury.io/rb/solidus_i18n.svg)](https://badge.fury.io/rb/solidus_i18n)