-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
39 lines (39 loc) · 3.1 KB
/
.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
34
35
36
37
38
39
language: ruby
rvm: 2.2
sudo: required
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
env:
matrix:
- INSTANCE=was-cluster-centos-6
- INSTANCE=ibm-certs-centos-6
- INSTANCE=was-jms-env-vhost-centos-6
- INSTANCE=was-app-server-centos-6
- INSTANCE=was-webserver-centos-6
fast_finish: true
global:
- secure: XvpayDz0fecG9k2JvhtHgjnze3DSnxkOGp+lw4UPePDMIMB6BvNy9o2Pv5JlCmQiRhQhXGKI33oUtkL1mpRdpla2SWYZYYhit4vVp38YXqx0/FwZ+bdRiILxbBwLwEga9H0fgor3buF5xaIjPzOfe6Zf+S7ySC98c+ummIOIqFdGJndUpYtSOIoHD/K+sKEBKq/o4Kn9C6n7UbzI70l1uyBhCxWavnAXUhxrsCYCTq5DXGgd3fA/Yzul81IKFVcvfB/qqgZumy2nzOyOth318Hpp2FKChchO/ABPwRbFmrElb0QMs0ytUDH8mm0KJD0FHcgH4PXHoVeznuAyDAgZp6AAD7W0TMTHuUAF+0iMwxbIlNRrpXqRpxowpJshxPuL1q/birlvVMLx0uCvm7NrZsGzCWWyTG9BtEPxIdtkf/Q9BoJuvZBLGHMYljS8CTs4HusVFx4Bq2BEAEHRjmbMutnauZQv1yNfFLzaF321DJNARFKcVmVgpFgLxRgBwHlf1xneRiotYSXDlpmFAAJHvlZgl9P42ZEvEJ2NYb0QFrhT4ceh4eh/9HiSocmISE6RaSGkgb6bbOhEwlwDS9OazIKybkAzBhbYKEOwcTTjWarFfRopeiISSm63Dth3BdCkSK4sGLucI3/KVurXsys6igEhafbiFrCjNp+g9dcJoZM=
- secure: cgWtZC9p68zuD1qUJ8XfoJfg1JjzmUA4QW2QFnQPSGFi/RY6/SA59Mp7EUwscc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XEBsxoke7Dkc0reZwjjwJ+kMFeQoh3RzyBl3IoTi+gmxcO6GxqkNrCYRy307iL6lLREyy/Cb+NCCmn1THoTmrcemWnxdw9qYH7VEs41zk8c7PBlpzuc1k7EET6m9OrfcsdWvhdLCKOVQYxAQU6JWa8yua3RxtqWvJN/7Wsd75Ntaf6Sw8z9Af7VjiirXVvJ5mcnUmyxCjS+iPDmZZy2nS9FYL4TkI0g6bNS9YDiA6b0r7aMGYSVXiftCY=
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- "/opt/chefdk/embedded/bin/chef gem install kitchen-ec2 kitchen-sync"
- openssl version
- openssl aes-256-cbc -K $encrypted_deb391b403a8_key -iv $encrypted_deb391b403a8_iv
-in travis-ci.pem.enc -out travis-ci.pem -d
- "/opt/chefdk/embedded/bin/chef --version"
- cookstyle --version
- cookstyle
- foodcritic --version
- foodcritic . --exclude spec
script:
- KITCHEN_YAML=.kitchen.ec2.yml travis_wait 50 kitchen test ${INSTANCE}
after_script:
- cat .kitchen/logs/kitchen.log
before_install:
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then openssl aes-256-cbc -K $encrypted_deb391b403a8_key
-iv $encrypted_deb391b403a8_iv -in travis-ci.pem.enc -out travis-ci.pem -d; fi