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
install:
- "bundle install --retry 3 --jobs 8"
script: "bundle exec rake"
gemfile:
- gemfiles/rails5.0.gemfile
- gemfiles/rails5.1.gemfile

View File

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