From 67885e337029933836ca21d93cc80c1eb55c3a6f Mon Sep 17 00:00:00 2001 From: John Keiser Date: Tue, 24 Nov 2015 09:27:34 -0800 Subject: Use bundle to access the bundled chef-client --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.travis.yml') 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: -- cgit v1.2.1