From 40a5d63d270df91b1febafa3d4939558ff881ea7 Mon Sep 17 00:00:00 2001 From: Jean-Maxime Date: Wed, 23 Dec 2020 13:40:52 +0100 Subject: [PATCH] Adapt travis runner Signed-off-by: Jean-Maxime --- .travis.yml | 5 +++-- couchbase-orm.gemspec | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 79e5cb28..6fc9f40e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,9 @@ language: ruby rvm: - ruby-2.4.2 - - ruby-2.3.5 + - ruby-2.5.7 - ruby-head - - jruby-9.1.13.0 + - jruby-9.2.9.0 - jruby-head - rubinius - rubinius-3.86 @@ -24,6 +24,7 @@ before_install: - /opt/couchbase/bin/couchbase-cli bucket-create -c 127.0.0.1:8091 -u admin -p password --bucket=default --bucket-type=couchbase --bucket-ramsize=160 --bucket-replica=0 --wait - sleep 1 - /opt/couchbase/bin/couchbase-cli user-manage -c 127.0.0.1:8091 -u admin -p password --set --rbac-username tester --rbac-password password123 --rbac-name "Auto Tester" --roles admin --auth-domain local + - curl http://admin:password@localhost:8093/query/service -d 'statement=CREATE INDEX `default_type` ON `default`(`type`)' - export TRAVIS_TEST=true matrix: allow_failures: diff --git a/couchbase-orm.gemspec b/couchbase-orm.gemspec index 39bd7d74..d0c1c3cd 100644 --- a/couchbase-orm.gemspec +++ b/couchbase-orm.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'radix', '~> 2.2' # converting numbers to and from any base gem.add_development_dependency 'rake', '~> 12.2' - gem.add_development_dependency 'rspec', '~> 3.7' + gem.add_development_dependency 'rspec', '= 3.8' gem.add_development_dependency 'yard', '~> 0.9' gem.add_development_dependency 'minitest', '~> 5.10'