From c96a84d1a1f60dcca4a75d154a4a19c603766893 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 19 Nov 2020 14:23:43 +0100 Subject: [PATCH 1/2] Add initial Drone CI config --- .drone.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9fbb90b --- /dev/null +++ b/.drone.yml @@ -0,0 +1,14 @@ +kind: pipeline +type: docker +name: CI build + +steps: + - name: rspec + image: guildeducation/rails:2.7.1-12.19.0 + commands: + - bundle install + - yarn install + - bundle exec rspec + when: + branch: + - master -- 2.25.1 From 0eab4f03acd717b30faff3dfff9f5a0be9ed7db0 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 19 Nov 2020 14:29:16 +0100 Subject: [PATCH 2/2] Remove Ruby version lock from Gemfile --- Gemfile | 2 -- Gemfile.lock | 3 --- 2 files changed, 5 deletions(-) diff --git a/Gemfile b/Gemfile index 498e526..16db418 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,6 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '2.6.1' - # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 6.0.3', '>= 6.0.3.4' # Use sqlite3 as the database for Active Record diff --git a/Gemfile.lock b/Gemfile.lock index 5c552c3..b272157 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -268,8 +268,5 @@ DEPENDENCIES web-console (>= 3.3.0) webpacker (~> 4.0) -RUBY VERSION - ruby 2.6.1p33 - BUNDLED WITH 2.0.2 -- 2.25.1