sudo: false
addons:
  apt:
    sources:
    - chef-current-precise
    packages:
    - chefdk
install: echo "skip bundle install"
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- "/opt/chefdk/embedded/bin/chef gem install chef-sugar"
script:
- "./travis-build.sh"

sudo: false
addons:
  apt:
    sources:
    - chef-stable-precise
    packages:
    - chefdk
install: echo "skip bundle install"
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
script:
- "./travis-build.sh"

Use stable ChefDK in Travis and skip chef-sugar
Use stable ChefDK in Travis and skip chef-sugar

When we promote from unstable to stable at the moment we do a move which means for some period of time there is no build in the current channel. This causes travis runs to fail so we recommend not using current in travis for now. We’re hoping to update how promotion occurs soon, which would allow for the use of current in travis once again.

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
