blob: 6b8c0dfd33be5a8bcb7e093c453997774e539197 (
plain)
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
|
language: ruby
cache: bundler
sudo: false
# Early warning system to catch if Rubygems breaks something
before_install:
- gem update --system
- gem install bundler
branches:
only:
- master
- 10-stable
- 11-stable
# do not run expensive spec tests on PRs, only on branches
script: "
echo '--color\n-fp' > .rspec;
sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers;
sudo -E $(which bundle) exec rake spec;
"
env:
global:
- FORCE_FFI_YAJL=ext
matrix:
include:
- rvm: rbx
sudo: true
- rvm: 2.2
sudo: required
dist: trusty
cache:
before_install:
- sudo apt-get update
- sudo apt-get -y install squid3 git
env:
global:
- PROXY_TESTS_DIR=proxy_tests/files/default/scripts
- PROXY_TESTS_REPO=$PROXY_TESTS_DIR/repo
script:
- bundle exec chef-client --version
- git clone -b tball/knife_tests https://github.com/chef/proxy_tests.git
- rvmsudo -E bundle exec bash $PROXY_TESTS_DIR/run_tests.sh chef_client \* \* /tmp/out.txt
after_script:
- cat /tmp/out.txt
- sudo cat /var/log/squid3/cache.log
- sudo cat /var/log/squid3/access.log
allow_failures:
- rvm: rbx
notifications:
on_change: true
on_failure: true
on_success: change
on_pull_requests: false
irc:
channels:
- chat.freenode.net#chef-hacking
webhooks:
urls:
# Gitter IM
- secure: HmMKr/ysKVyKUJ24PRCHcA8QCmlFoukrYumY0GRLzvaFWO8PknHO1t/0RbrKRb2ed/hgkFd+RKNCYvSvcE8Ahr2vlMrBeGHGfVeOGkWtbhLgNqo1b50Ll9CqvTM8X2ZIq6hIWraanwoYRQu/8uGL29yH4lBi7DhpTkFwBMLulhQ=
hipchat:
rooms:
# Build Statuses
- secure: G8MNo94L8bmWWwkH2/ViB2QaZnZHZscYM/mEjDbOGd15sqrruwckeARyBoUcRI7P1C6AFmS4IKCNVXa6KzX4Pbh51gQWM92zRpRTZpplwtXz53/1l8ajLFLLMLvEMTlBFAANUKEUFAQPY4dMa14V3Qc5oijfIncN61k4nZNTKpY=
# Open Source
- secure: hmcex4PpG5dn8WvjndONO4xCUKOC5kPU/bUEGRrfVbe2YKJE7t0XXbNDC96W/xBgzgnJzvf1Er0zJKDrNf4qEDEWFoozdN00WLcqREgaLLS3Seto2FjR/BpBk5q+sCV0rwwEMms2P4Qk+VSnDCnm9EaeM55hOabqNuOrRzoZLBQ=
|