Run standard on CI

To ensure we run standard before merging any PR, this commit adds
standard to Travis CI (we have [travis configured to run the default rake
task][travis config]).

[travis config]: 4303e7d0d7/.travis.yml (L12)
This commit is contained in:
Daniel Colson 2020-06-05 15:19:59 -04:00
parent 5f1a1de114
commit 8f0c4afdf4
1 changed files with 3 additions and 2 deletions

View File

@ -4,11 +4,12 @@ require "rake"
require "yard"
require "rspec/core/rake_task"
require "cucumber/rake/task"
require "standard/rake"
Bundler::GemHelper.install_tasks(name: "factory_bot")
desc "Default: run the specs and features."
task default: %w[spec:unit spec:acceptance features]
desc "Default: run the specs, features, and standard ."
task default: %w[spec:unit spec:acceptance features standard]
namespace :spec do
desc "Run unit specs"