Configure CI builds #3

Merged
raucao merged 2 commits from dev/configure_drone_ci into master 2020-11-19 15:40:47 +00:00
3 changed files with 14 additions and 5 deletions

14
.drone.yml Normal file
View File

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

View File

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

View File

@ -268,8 +268,5 @@ DEPENDENCIES
web-console (>= 3.3.0)
webpacker (~> 4.0)
RUBY VERSION
ruby 2.6.1p33
BUNDLED WITH
2.0.2