Sha256: 9c52fa5280b7661cdb87fdc7e47661b22dcac909807080876a955ce09b002973

Contents?: true

Size: 903 Bytes

Versions: 3

Compression:

Stored size: 903 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:
  # 1) inspec not finding chef package once connected (not reproducible locally)
  # 2) 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_install_command --force-destroy
  /opt/chefdk/embedded/bin/bundle exec chef-acceptance test ubuntu_install_sh --force-destroy
fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mixlib-install-2.0.4 ci/script.sh
mixlib-install-2.0.3 ci/script.sh
mixlib-install-2.0.2 ci/script.sh