diff --git a/Rakefile b/Rakefile index f2e9d479d..503a6fa7e 100644 --- a/Rakefile +++ b/Rakefile @@ -33,14 +33,8 @@ RSpec::Core::RakeTask.new namespace :lint do desc 'Lint our .travis.yml' task :travis do - begin - require 'travis/yaml' - - puts 'Linting .travis.yml ... No output is good!' - Travis::Yaml.parse! File.read('.travis.yml') - rescue LoadError => e - $stderr.puts "You ruby is not supported for linting the .travis.yml: #{e.message}" - end + puts 'Linting .travis.yml ...' + sh 'travis lint' end desc 'Lint our code with "rubocop"' diff --git a/aruba.gemspec b/aruba.gemspec index 8a2d4b6e1..4c2489003 100644 --- a/aruba.gemspec +++ b/aruba.gemspec @@ -37,7 +37,7 @@ to make testing commandline applications meaningful, easy and fun.' spec.add_development_dependency 'rubocop', '~> 0.78.0' spec.add_development_dependency 'rubocop-performance', '~> 1.5' spec.add_development_dependency 'simplecov', '~> 0.17.1' - spec.add_development_dependency 'travis-yaml', '~> 0.2.0' + spec.add_development_dependency 'travis', '~> 1.8' spec.add_development_dependency 'yard-junk', '~> 0.0.7' spec.rubygems_version = '>= 1.6.1'