-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
64 lines (64 loc) · 2.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
sudo: false
dist: trusty
language: ruby
cache: bundler
bundler_args: "--without system_tests development"
before_install:
- bundle -v
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle -v
script:
- bundle exec rake $CHECK
matrix:
fast_finish: true
include:
- rvm: 2.1.9
env: PUPPET_VERSION="~> 4.0" CHECK=test
- rvm: 2.2.5
env: PUPPET_VERSION="~> 4.0" CHECK=test
- rvm: 2.3.1
env: PUPPET_VERSION="~> 4.0" CHECK=test DEPLOY_TO_FORGE="yes"
- rvm: 2.3.1
env: PUPPET_VERSION="~> 4.0" CHECK=rubocop
- rvm: 2.3.1
sudo: required
dist: trusty
services: docker
env: BEAKER_set="docker/ubuntu-14.04"
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/*_spec.rb
- rvm: 2.3.1
sudo: required
dist: trusty
services: docker
env: BEAKER_set="docker/ubuntu-16.04"
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/*_spec.rb
- rvm: 2.3.1
sudo: required
dist: trusty
services: docker
env: BEAKER_set="docker/centos-6"
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/*_spec.rb
- rvm: 2.3.1
sudo: required
dist: trusty
services: docker
env: BEAKER_set="docker/centos-7"
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/*_spec.rb
notifications:
email: true
deploy:
provider: puppetforge
user: onpuppet
password:
secure: g+lNElaVopnR45OW8XI3oUEH3qqcBEpUD6svgBt2hByKaq8nnVCFXIuxQn60kVV6mk/Oc3N9fxdhFKarDclslc2yOxPaN58zThiWUk3jK1UWt32pAVFUjy6HBuDeBwmCwMfvqSaGYe85KovEbZbrQToki4ZsJR4BfLwsl3bocft3MpAb+nmWeFGxA/JIglDq993oCw5RqOE7eF94BDsXb1UmQuDRw3wTmEDbO+OUCphFSbBkHkTvEENqN7IVGL01kZBVcW/toED6qYyIny3f6Ow54jWTW4Rw4YNFsb/C+Gc8Wete2F5kECIj3vrZwgOqncoWHhj1vVYhnGebnASN3hJXI4Ber7rrrdjMHzKJ3tb72k6Mz/gDKxQbmDpoo09vJMRT4XplJ3ed6nZgHly4dUsxLB11VcwKFDOClrZgHf6r4NIEZLUznFL4n8/amfnFmbn4e7lwX6bKgUQUcBwUjTp1pp73fgm6YrUaeMHGbJ9BNPFuayaGns2s2mGliCCeZIOUriaQEPERrF70rmqXNXp8Gh7O3R9y57aoWdL0hndiWE2o8SjnqwK9ILJmHWsRI5FHYX0PoVMUFO3kkqk+1JNs/ZlJemMtqUpVVm2GuI8J0EDoIgUivdftX0n5WpWLj2LH8jGXcIF0kpnuRbhHUbpKlWTvmOWnuEh+y9zYlSo=
on:
tags: true
all_branches: true
condition: "$DEPLOY_TO_FORGE = yes"