language: ruby rvm: - 2.2.3 - 2.1 - 2.0.0 - ruby-head env: - RUBYGEMS_VERSION= - RUBYGEMS_VERSION=2.4.5 - RUBYGEMS_VERSION=2.2.2 - RUBYGEMS_VERSION=2.1.11 - RUBYGEMS_VERSION=2.0.14 - RUBYGEMS_VERSION=1.8.29 before_install: - if [ -n "$RUBYGEMS_VERSION" ]; then gem update --system $RUBYGEMS_VERSION; fi - gem --version bundler_args: --without guard sudo: false matrix: include: - rvm: 2.2 sudo: required dist: trusty # To run the proxy tests we need additional gems than what Test Kitchen normally uses # for testing gemfile: Gemfile.proxy_tests before_install: - sudo apt-get update - sudo apt-get -y install squid3 git curl env: # ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'] - secure: "E7h427Y8z6Nx5sdrA4Ye9gO9pDGpe4jxfhJdM4HPJIM/FSkEJM0ZDPdvhQ6QAQ1S1AHja/JhQUFaNP5NzKhRkVqGCzunBBC6RVb7pp1Qo16EMhJkg7LEsExiSsjQykAzt2w6K/71V+mIlMKxCPYdpu6PT/8w/jZFgBqLEHXuogU=" - global: - PROXY_TESTS_DIR=proxy_tests/files/default/scripts - PROXY_TESTS_REPO=$PROXY_TESTS_DIR/repo script: - bundle exec kitchen --version # TODO switch to master when https://github.com/chef/proxy_tests/pull/12 is merged - git clone https://github.com/chef/proxy_tests.git - rvmsudo -E bundle exec bash $PROXY_TESTS_DIR/run_tests.sh kitchen \* \* /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: ruby-head exclude: - rvm: 2.2 env: RUBYGEMS_VERSION=2.2.2 - rvm: 2.2 env: RUBYGEMS_VERSION=2.1.11 - rvm: 2.2 env: RUBYGEMS_VERSION=2.0.14 - rvm: 2.2 env: RUBYGEMS_VERSION=1.8.29 - rvm: 2.1 env: RUBYGEMS_VERSION=1.8.29 - rvm: 2.0.0 env: RUBYGEMS_VERSION=1.8.29 - rvm: ruby-head env: RUBYGEMS_VERSION=2.2.2 - rvm: ruby-head env: RUBYGEMS_VERSION=2.1.11 - rvm: ruby-head env: RUBYGEMS_VERSION=2.0.14 - rvm: ruby-head env: RUBYGEMS_VERSION=1.8.29 notifications: irc: "chat.freenode.net#kitchenci" addons: code_climate: repo_token: secure: "lcqi3hbalLTinxwsl+um1aN1dgijBrODSMseGEJMJGkofz3VZ+Ofuuwp9x9VjvewuiUFHsiPD5SQ6hx8N+L3wXB6qA+HTmIrXecL7VjehbImEyOuu4/++vcTdpTINAd2Qt/KuJ1eY0okSwVmvtX1VD8gYD8yrlMKdj6uexf8Bgs="