Skip to content

Commit

Permalink
Add inspec-bin to Travis (#253)
Browse files Browse the repository at this point in the history
Add inspec-bin to Travis
  • Loading branch information
greg-hellings committed May 14, 2019
2 parents 2dc657f + cb5fe28 commit c07d873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ before_install:
- travis_retry pip install -U pip
- pip --version
install:
- travis_retry gem install inspec
- travis_retry gem install inspec inspec-bin
- travis_retry pip install tox
- tox --version
script:
Expand Down
3 changes: 2 additions & 1 deletion scripts/master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ ansible-playbook -i "${inventory}" \
# Run inspec against the container
########################################################
erb "${cinch}/tests/profile.yml.erb" > "${cinch}/tests/profile.yml"
inspec exec "${cinch}/tests/cinch" --attrs "${cinch}/tests/profile.yml" -t "docker://${container_name}"
inspec exec --chef-license=accept-silent "${cinch}/tests/cinch" \
--attrs "${cinch}/tests/profile.yml" -t "docker://${container_name}"
########################################################
# Finish and close up the container
########################################################
Expand Down

0 comments on commit c07d873

Please sign in to comment.