Sha256: 1bb3a87219eb520c77e5eeaae76217df0166e0dc44cfa7acf1fca71ef9c805ae

Contents?: true

Size: 711 Bytes

Versions: 1

Compression:

Stored size: 711 Bytes

Contents

#!/bin/bash

set -evx

# run unit tests
/opt/chefdk/embedded/bin/bundle install && /opt/chefdk/bin/chef exec rake

# Don't run acceptance tests on forks. The decryption keys are not available.
if [ "${TRAVIS_REPO_SLUG}" = "chef/mixlib-install" ]; then
  # setup acceptance tests
  cd acceptance && export BUNDLE_GEMFILE=$PWD/Gemfile && /opt/chefdk/embedded/bin/bundle install && export APPBUNDLER_ALLOW_RVM=true
  # run acceptances tests and force cleanup
  # only testing ubuntu until issues with powershell suite resovled:
  # - currently no way to mask password (sensitive true) AND know what the error is if inspec fails
  /opt/chefdk/embedded/bin/bundle exec chef-acceptance test ubuntu --force-destroy
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mixlib-install-2.1.0 ci/script.sh