-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
86 lines (79 loc) · 3 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
services:
- docker
language: ruby
cache: bundler
sudo: false
rvm:
- 2.6.3
bundler_args: "--without kitchen_vagrant kitchen_cloud aws"
before_install:
- gem update --system
- gem install bundler
script: "bundle exec kitchen test ${INSTANCE} --destroy=always"
env:
global:
- KITCHEN_YAML=.kitchen.docker.yml
- secure: Ag8Zn5lQxHrj+Xi79FAKiyq1mJxos+eQe6rL3xrk0aDL10YuAbbYz32jOce1MlIvTsEl4uaVQXQXIJmHjbCqzf5m61FYqRMqVhQ8B+Sh3AYiGe1MYpl9KJSYleyJPqJBDBZ/xfLpDKX7PoUCgXpHm2ZION2YFBHdRx3tN/lejoU=
- secure: FAO//JQqC+rY3ce19GjA/KWpNskY2nT+8i83WyueHZ20zIc6FMdkWOs+WcEcnfcXDG8GBCqiIG+wF1GajUWirWo+aEIjIguADJhZwuLqD4g6KDmRW9p1MB2b3XDvAbvzze7yy6uG9GcuhiKo+J3S33YugFD59UHGa7hCGeEukAo=
matrix:
- INSTANCE=pg-11-chef15-ubuntu-1604
- INSTANCE=pg-11-chef15-debian-9
- INSTANCE=pg-11-chef15-debian-8
- INSTANCE=pg-10-chef15-ubuntu-1604
- INSTANCE=pg-10-chef15-debian-9
- INSTANCE=pg-10-chef15-debian-8
- INSTANCE=pg-96-chef15-ubuntu-1604
- INSTANCE=pg-96-chef15-ubuntu-1404
- INSTANCE=pg-96-chef15-debian-9
- INSTANCE=pg-96-chef15-debian-8
- INSTANCE=pg-93-chef14-ubuntu-1404
- INSTANCE=pg-93-chef14-ubuntu-1604
- INSTANCE=pg-93-chef14-debian-8
- INSTANCE=pg-93-chef14-debian-9
- INSTANCE=pg-94-chef14-ubuntu-1604
- INSTANCE=pg-94-chef14-debian-8
- INSTANCE=pg-94-chef14-debian-9
- INSTANCE=pg-95-chef14-ubuntu-1604
- INSTANCE=pg-95-chef14-debian-8
- INSTANCE=pg-95-chef14-debian-9
- INSTANCE=pg-96-chef14-ubuntu-1404
- INSTANCE=pg-96-chef14-ubuntu-1604
- INSTANCE=pg-96-chef14-debian-8
- INSTANCE=pg-96-chef14-debian-9
- INSTANCE=pg-10-chef14-ubuntu-1604
- INSTANCE=pg-10-chef14-debian-8
- INSTANCE=pg-10-chef14-debian-9
- INSTANCE=pg-11-chef14-ubuntu-1604
- INSTANCE=pg-11-chef14-ubuntu-1604
- INSTANCE=pg-11-chef14-debian-8
- INSTANCE=pg-11-chef14-debian-9
- INSTANCE=pg-96-chef13-ubuntu-1404
- INSTANCE=pg-96-chef13-ubuntu-1604
- INSTANCE=pg-96-chef13-debian-8
- INSTANCE=pg-96-chef13-debian-9
- INSTANCE=pg-10-chef13-ubuntu-1604
- INSTANCE=pg-10-chef13-debian-8
- INSTANCE=pg-10-chef13-debian-9
- INSTANCE=pg-11-chef13-ubuntu-1404
- INSTANCE=pg-11-chef13-ubuntu-1604
- INSTANCE=pg-11-chef13-debian-8
- INSTANCE=pg-11-chef13-debian-9
jobs:
include:
- stage: lint
script:
- bundle exec cookstyle --version
- bundle exec cookstyle
- bundle exec foodcritic --version
- bundle exec foodcritic --contex --epic-fail any .
- stage: deploy
if: tag =~ ^[0-9]\.[0-9]\.[0-9]$
script:
- openssl aes-256-cbc -K $encrypted_b45d6f20bf91_key -iv $encrypted_b45d6f20bf91_iv
-in .travis/secret_keys.tar.enc -out .travis/secret_keys.tar -d
- tar xf .travis/secret_keys.tar -C .travis
- bundle exec stove login --username express42 --key .travis/express42.pem
- bundle exec stove --no-git
notifications:
slack:
secure: M7REbNB5Wf6eMBxQijnquWw4KlBbrw5zLM6fWqB1CjA3IF7DbYFUgvBTeUAxTFE9P2KEahYydPRkhzDtQ49PpE31g93yfy1yqQ/1rBHuzmZztR1hpwzYAhzGg4cak/47LQPaHx6Y9Pa83N8BPwpE4t9936wB3gXBlQERQdGdmoE=