From 3ea2003db7592ba6631e65b638d3b2fc4673e7a6 Mon Sep 17 00:00:00 2001 From: Eric Hodel Date: Mon, 6 May 2019 21:14:46 -0700 Subject: [PATCH] Run pipeline tests on travis --- .travis.yml | 5 +++++ Rakefile | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ba375c..77d379c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,3 +16,8 @@ rvm: - 2.5 - 2.6 script: rake travis + +matrix: + include: + - rvm: "2.6" + env: TRAVIS_MATRIX=pipeline diff --git a/Rakefile b/Rakefile index 499d465..f4be07e 100644 --- a/Rakefile +++ b/Rakefile @@ -20,8 +20,10 @@ Hoe.spec 'net-http-persistent' do rdoc_locations << 'docs.seattlerb.org:/data/www/docs.seattlerb.org/net-http-persistent/' - dependency 'connection_pool', '~> 2.2' - dependency 'minitest', '~> 5.2', :development + dependency 'connection_pool', '~> 2.2' + dependency 'minitest', '~> 5.2', :development + dependency 'net-http-pipeline', '~> 1.0' if + ENV['TRAVIS_MATRIX'] == 'pipeline' end # vim: syntax=Ruby