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:
parent
ce8bfb409b
commit
870bf2a2f4
2 changed files with 4 additions and 2 deletions
|
@ -12,6 +12,7 @@ branches:
|
|||
- master
|
||||
install:
|
||||
- "bundle install --retry 3 --jobs 8"
|
||||
script: "bundle exec rake"
|
||||
gemfile:
|
||||
- gemfiles/rails5.0.gemfile
|
||||
- gemfiles/rails5.1.gemfile
|
||||
|
|
5
Rakefile
5
Rakefile
|
@ -1,6 +1,7 @@
|
|||
require "bundler/setup"
|
||||
require "cucumber/rake/task"
|
||||
require "rspec/core/rake_task"
|
||||
require "standard/rake"
|
||||
|
||||
Bundler::GemHelper.install_tasks name: "factory_bot_rails"
|
||||
|
||||
|
@ -11,5 +12,5 @@ end
|
|||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
desc "Run the test suite"
|
||||
task default: %w[spec cucumber]
|
||||
desc "Run the test suite and standard"
|
||||
task default: %w[spec cucumber standard]
|
||||
|
|
Loading…
Reference in a new issue