forked from sous-chefs/nginx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 901 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# update foodcritic version to prevent false-postiive detection
# https://github.com/acrmp/foodcritic/pull/423
# TODO: Remove when 6.0.1 is included in ChefDK stable
- chef gem install foodcritic -v '6.0.1'
- chef gem install coveralls -v '~> 0.8.13'
script:
- chef --version
- gem query -d chefspec rubocop foodcritic rake
- rake
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/3ba4761e5efe291965bf
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false