From 11729d621dc4f36ef5b901e9104a09e9a9092b1f Mon Sep 17 00:00:00 2001 From: Tom Duffield Date: Wed, 8 Feb 2017 12:59:49 -0600 Subject: [PATCH] Update travis config to run tests in matrix Signed-off-by: Tom Duffield --- .travis.yml | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index c0c32b7d6..943f5c740 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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=