Skip to content

Commit

Permalink
Use Chef Delivery CLI to run spec and style checks
Browse files Browse the repository at this point in the history
  • Loading branch information
legal90 committed Apr 23, 2017
1 parent 949cca0 commit 99a9b9b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .delivery/project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[local_phases]
unit = "bundle exec rspec test/spec/"
lint = 'cookstyle --display-cop-names --extra-details'
syntax = "foodcritic ."
provision = "echo skipping"
deploy = "echo skipping"
smoke = "echo skipping"
functional = "echo skipping"
cleanup = "echo skipping"
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ matrix:
include:
- script:
- bundle install
- bundle exec rake
- chef exec delivery local all
env: UNIT_AND_LINT=1

notifications:
Expand Down

0 comments on commit 99a9b9b

Please sign in to comment.