forked from criteo-cookbooks/nexus3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (40 loc) · 1.04 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
language: ruby
cache: bundler
rvm:
- 2.3.2
deploy:
skip_cleanup: true
edge: true
edge:
source: criteo-forks/dpl
branch: chef_ruby2
provider: chef-supermarket
user_id: criteo
cookbook_category: Utilities
client_key: ".travis/client.pem"
on:
tags: true
sudo: required
services: docker
env:
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
- INSTANCE=default-debian-8
- INSTANCE=default-fedora-latest
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables
-N DOCKER )
script:
- bundle exec rubocop --version
- bundle exec rubocop
- bundle exec foodcritic --version
- bundle exec foodcritic . --exclude spec -f any
- bundle exec rspec
- KITCHEN_LOCAL_YAML=.kitchen.docker.yml bundle exec kitchen verify ${INSTANCE}
before_deploy:
- openssl aes-256-cbc -K $encrypted_95c22e932368_key -iv $encrypted_95c22e932368_iv
-in .travis/client.pem.enc -out .travis/client.pem -d