summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-11-24 09:27:34 -0800
committerJohn Keiser <john@johnkeiser.com>2015-11-24 10:35:04 -0800
commit67885e337029933836ca21d93cc80c1eb55c3a6f (patch)
tree12fac70bdf484c773437160d136db9c92819c3bb
parenta1e7e780bc21d39daf30bbd30ecfc2777c7425df (diff)
downloadchef-jk/proxy-tests.tar.gz
Use bundle to access the bundled chef-clientjk/proxy-tests
-rw-r--r--.travis.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 366d1029fa..3a37c6dbc1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -131,13 +131,12 @@ matrix:
- sudo apt-get -y install squid3 git
env: PROXY_TESTS_DIR=/tmp/proxy_tests
script:
- - which chef-client
- - chef-client --version
+ - bundle exec chef-client --version
- git clone https://github.com/chef/proxy_tests.git
- cd proxy_tests
- - chef-client -z -o proxy_tests::render
+ - bundle exec chef-client -z -o proxy_tests::render
#- sh /tmp/proxy_tests/setup.sh
- - sudo -E bash /tmp/proxy_tests/run_tests.sh chef_client \* \* /tmp/out.txt
+ - bundle exec sudo -E bash /tmp/proxy_tests/run_tests.sh chef_client \* \* /tmp/out.txt
after_script: cat /tmp/out.txt
notifications: