Skip to content

Commit

Permalink
Run standard on CI
Browse files Browse the repository at this point in the history
To ensure we run standard before merging any PR, this commit adds
standard to Travis CI
  • Loading branch information
composerinteralia committed Jun 10, 2020
1 parent ce8bfb4 commit 870bf2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -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"

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

0 comments on commit 870bf2a

Please sign in to comment.