Configure CI builds #3
14
.drone.yml
Normal file
14
.drone.yml
Normal 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
|
2
Gemfile
2
Gemfile
@ -1,8 +1,6 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
||||||
|
|
||||||
ruby '2.6.1'
|
|
||||||
|
|
||||||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
||||||
gem 'rails', '~> 6.0.3', '>= 6.0.3.4'
|
gem 'rails', '~> 6.0.3', '>= 6.0.3.4'
|
||||||
# Use sqlite3 as the database for Active Record
|
# Use sqlite3 as the database for Active Record
|
||||||
|
@ -268,8 +268,5 @@ DEPENDENCIES
|
|||||||
web-console (>= 3.3.0)
|
web-console (>= 3.3.0)
|
||||||
webpacker (~> 4.0)
|
webpacker (~> 4.0)
|
||||||
|
|
||||||
RUBY VERSION
|
|
||||||
ruby 2.6.1p33
|
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.0.2
|
2.0.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user