Sha256: 375139f14eab747bca167d46245761dbcd0c808b005d199696107569aca765ab

Contents?: true

Size: 1.52 KB

Versions: 4

Compression:

Stored size: 1.52 KB

Contents

sudo: required
dist: trusty
services: docker

language: ruby

rvm:
  - 2.3.7
  - 2.4.4
  - 2.5.1
  - ruby-head


before_install:
  - gem --version

bundler_args: --with integration --without changelog debug docs

script:
  - bundle exec rake
  - export KITCHEN_YAML=.kitchen.dokken.yml
  - bundle exec kitchen test

branches:
  only:
  - master

matrix:
  include:
    - rvm: 2.5.1
      before_install:
      # https://github.com/travis-ci/travis-ci/issues/8978
      - gem update --system
    - rvm: 2.4.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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
test-kitchen-1.23.2 .travis.yml
test-kitchen-1.22.1 .travis.yml
test-kitchen-1.23.0 .travis.yml
test-kitchen-1.22.0 .travis.yml