Sha256: 34f9c911d326d068d3bfbcc75a232053ee1cbfa7beac3c68306952c82c37c629

Contents?: true

Size: 1.94 KB

Versions: 7

Compression:

Stored size: 1.94 KB

Contents

addons:
  apt:
    packages:
      - chef
      - git
      - graphviz
      - libarchive-dev
#      - libgecode-dev
    sources:
      - chef-stable-trusty
cache:
  - apt
  - bundler
dist: trusty
#env:
#  global: USE_SYSTEM_GECODE=1
language: ruby
notifications:
  irc:
    channels:
      - "irc.freenode.org#berkshelf"
    skip_join: true
    use_notice: true
  webhooks:
    urls:
      - "https://webhooks.gitter.im/e/cdd41ff6c4d1f062c2f1"
branches:
  only:
    - master
before_install:
  - gem update --system
  - gem install bundler
install:  travis_wait bundle install --without changelog --jobs 7 --retry=3
before_script:
  - echo "StrictHostKeyChecking no" > ~/.ssh/config
  - git config --global user.email "ci@berkshelf.com"
  - git config --global user.name "Berkshelf"
matrix:
  include:
    - rvm: 2.3.3
    - rvm: 2.4.1
    - rvm: ruby-head
    - rvm: 2.4.1
      before_install:
        - gem update --system
        - gem install bundler
        - rm Gemfile.lock
    - rvm: 2.3.3
      env:
        CHEFSTYLE: 1
      script: bundle exec rake style
    - rvm: 2.4.1
      before_install:
        # Failures in the berkshelf-api gemspec were happening with bundler 1.8
        - gem install bundler --version=1.10.6
        # Needed until https://github.com/travis-ci/apt-package-whitelist/pull/1820 is merged
        - sudo apt-get update
        - sudo apt-get -y install squid3 apache2-utils
        - sudo htpasswd -b -c /etc/squid3/passwords proxy proxy
      sudo: required
      env:
        - PROXY_TESTS_DIR=/tmp/proxy_tests
        - PROXY_TESTS_REPO=$PROXY_TESTS_DIR/repo
        - rvmsudo_secure_path=1
      script:
        - git clone https://github.com/chef/proxy_tests.git
        - cd proxy_tests && chef-client -z -o proxy_tests::render && cd ..
        - rvmsudo -E bundle exec bash $PROXY_TESTS_DIR/run_tests.sh berkshelf \* \* /tmp/out.txt
      after_script: cat /tmp/out.txt
  allow_failures:
    - rvm: ruby-head

script: bundle exec thor spec:ci

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
berkshelf-6.3.1 .travis.yml
berkshelf-6.3.0 .travis.yml
berkshelf-6.2.2 .travis.yml
berkshelf-6.2.1 .travis.yml
berkshelf-6.2.0 .travis.yml
berkshelf-6.1.1 .travis.yml
berkshelf-6.1.0 .travis.yml