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