1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00

Run standard on CI

To ensure we run standard before merging any PR, this commit adds
standard to Travis CI
This commit is contained in:
Daniel Colson 2020-06-05 15:49:21 -04:00
parent ce8bfb409b
commit 870bf2a2f4
2 changed files with 4 additions and 2 deletions

View file

@ -12,6 +12,7 @@ branches:
- master - master
install: install:
- "bundle install --retry 3 --jobs 8" - "bundle install --retry 3 --jobs 8"
script: "bundle exec rake"
gemfile: gemfile:
- gemfiles/rails5.0.gemfile - gemfiles/rails5.0.gemfile
- gemfiles/rails5.1.gemfile - gemfiles/rails5.1.gemfile

View file

@ -1,6 +1,7 @@
require "bundler/setup" require "bundler/setup"
require "cucumber/rake/task" require "cucumber/rake/task"
require "rspec/core/rake_task" require "rspec/core/rake_task"
require "standard/rake"
Bundler::GemHelper.install_tasks name: "factory_bot_rails" Bundler::GemHelper.install_tasks name: "factory_bot_rails"
@ -11,5 +12,5 @@ end
RSpec::Core::RakeTask.new(:spec) RSpec::Core::RakeTask.new(:spec)
desc "Run the test suite" desc "Run the test suite and standard"
task default: %w[spec cucumber] task default: %w[spec cucumber standard]