Sha256: 15a59f0fd8eb95608e6c2fb0d02d4010238da2d6be2360572c016eb23b6c4352

Contents?: true

Size: 1.81 KB

Versions: 13

Compression:

Stored size: 1.81 KB

Contents

language: ruby

rvm:
  - 2.2.4
  - 2.1.8
  - ruby-head

env:
  - global:
    - machine_user=travis
    - machine_pass=travis
    - machine_port=22

dist: trusty
sudo: required

before_install:
  - sudo usermod -p `openssl passwd -1 'travis'` travis
  - gem --version

bundler_args: --without guard integration

script:
  - bundle exec rake
  - bundle install --with integration
  - export KITCHEN_YAML=.kitchen.ci.yml
  - bundle exec kitchen verify ubuntu

branches:
  only:
  - master

matrix:
  include:
    - rvm: 2.2.4
      # To run the proxy tests we need additional gems than what Test Kitchen normally uses
      # for testing
      gemfile: Gemfile.proxy_tests
      before_install:
        - sudo usermod -p `openssl passwd -1 'travis'` travis
        - gem install bundler
        - sudo apt-get update
        - sudo apt-get -y install squid3 git curl
      env:
        - global:
          - machine_user=travis
          - machine_pass=travis
          - machine_port=22
          - PROXY_TESTS_DIR=proxy_tests/files/default/scripts
          - PROXY_TESTS_REPO=$PROXY_TESTS_DIR/repo
          - KITCHEN_YAML=/home/travis/build/test-kitchen/test-kitchen/.kitchen.proxy.yml

      script:
        - bundle exec kitchen --version
        - 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

notifications:
  irc: "chat.freenode.net#kitchenci"

addons:
  code_climate:
    repo_token:
      secure: "lcqi3hbalLTinxwsl+um1aN1dgijBrODSMseGEJMJGkofz3VZ+Ofuuwp9x9VjvewuiUFHsiPD5SQ6hx8N+L3wXB6qA+HTmIrXecL7VjehbImEyOuu4/++vcTdpTINAd2Qt/KuJ1eY0okSwVmvtX1VD8gYD8yrlMKdj6uexf8Bgs="

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
test-kitchen-1.11.1 .travis.yml
test-kitchen-1.11.0 .travis.yml
test-kitchen-1.10.2 .travis.yml
test-kitchen-1.10.2.dev .travis.yml
test-kitchen-1.10.0 .travis.yml
test-kitchen-1.9.2 .travis.yml
test-kitchen-1.9.1 .travis.yml
test-kitchen-1.9.0 .travis.yml
test-kitchen-1.8.0 .travis.yml
test-kitchen-1.7.3 .travis.yml
test-kitchen-1.7.2 .travis.yml
test-kitchen-1.7.1 .travis.yml
test-kitchen-1.7.1.dev .travis.yml