From e8371fd3748338f124e643c25df05090f34493b5 Mon Sep 17 00:00:00 2001 From: tphoney Date: Wed, 20 Jun 2018 19:31:26 +0100 Subject: [PATCH] (bugfix) Dont run ftp tests in travis --- spec/acceptance/apt_key_provider_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/acceptance/apt_key_provider_spec.rb b/spec/acceptance/apt_key_provider_spec.rb index 753eff8..aa78001 100644 --- a/spec/acceptance/apt_key_provider_spec.rb +++ b/spec/acceptance/apt_key_provider_spec.rb @@ -718,7 +718,8 @@ describe 'apt_key' do end end - context 'with ftp://' do + # disabled when running in travis, security issues prevent FTP + context 'with ftp://', unless: (ENV['TRAVIS'] == 'true') do before(:each) do shell("apt-key del #{CENTOS_GPG_KEY_LONG_ID}", acceptable_exit_codes: [0, 1, 2]) -- 2.45.2