Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
Update travis config to run tests in matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Duffield <tom@chef.io>
  • Loading branch information
tduffield committed Feb 8, 2017
1 parent e1be4ae commit 11729d6
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,26 @@ env:
matrix:
include:
- rvm: 2.3.1
env:
RSPEC: 1
script: $(which bundle) exec rspec
- rvm: 2.3.1
env:
COOKSTYLE: 1
script: $(which bundle) exec rake style:cookstyle
- rvm: 2.3.1
env:
CHEFSTYLE: 1
script: $(which bundle) exec rake style:chefstyle
- rvm: 2.3.1
env:
FOODCRITIC: 1
script: $(which bundle) exec rake style:foodcritic
- rvm: 2.2.5
env:
RSPEC: 1
script: $(which bundle) exec rspec

branches:
only:
- master

script:
- bundle exec rspec
- bundle exec cookstyle lib/chef-dk/skeletons/code_generator
- bundle exec foodcritic . --exclude spec -f any -t ~FC007 -t ~FC011 -t ~supermarket lib/chef-dk/skeletons/code_generator

notifications:
hipchat:
on_change: true
on_failure: true
on_success: false
on_pull_requests: false
rooms:
# Build Statuses
- secure: Y3WXFEuXPnUvJJPrQPSzkSzAZwI+SxSp7O5crSU24tMqFJWQNyqCqSYGGcBstQWkJLq5lDD05qIT0LR2Hsi4fsj1/7g4EFKDWk9QaJp6LVzoMz5aTQDlNBR0WzyG7eCuOWmHmFurEYR/72UW24Zm3vZAp1xoomDVDgQnPPYpjRQ=
# chef-dk
- secure: Q9mOh4fjH4/acPvW0Q4g+L/QsUzw3maVN402paHvbiAhAOT8tM44ilUFXJg7wTzOL+trtm5QxfhPSqNrU+7r1I79w1bw741EpbuU4nkzbGFe9PGizSqwyJFM+yQ+HwZ7zR++OeHZmhbtTZ7Awv8MAUkuWk84KkEwiRTJpqpxiCs=

0 comments on commit 11729d6

Please sign in to comment.