From d3a2f8ad97b764a2cbf402ed0c57e4e77bedd09a Mon Sep 17 00:00:00 2001 From: Darragh Bailey Date: Wed, 13 Feb 2019 13:29:23 +0000 Subject: [PATCH] Update travis conf and test multiple combinations Attempt to use latest travis CI settings for installing required packages. Should attempt to test various combinations to try and catch problems occurring across different versions of vagrant with different versions of ruby when people are using distro provided versions. --- .travis.yml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index cac21e5..0cd7f0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,35 @@ --- language: ruby -dist: trusty +dist: xenial before_install: - - sudo apt-get update -qq - - sudo apt-get install -y libvirt-dev - gem update --system --conservative || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems) - gem update bundler --conservative +addons: + apt: + packages: libvirt-dev + update: true install: bundle install script: bundle exec rspec --color --format documentation notifications: email: false -rvm: - - 2.2.5 - - 2.3.3 env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true matrix: - - VAGRANT_VERSION=v2.0.1 + - VAGRANT_VERSION=v2.0.4 + - VAGRANT_VERSION=v2.1.5 + - VAGRANT_VERSION=v2.2.3 +rvm: + - 2.2.7 + - 2.3.4 + - 2.4.1 + - 2.6.1 + matrix: allow_failures: - env: VAGRANT_VERSION=master - rvm: 2.3.3 + exclude: + - env: VAGRANT_VERSION=v2.0.4 + rvm: 2.6.1 + - env: VAGRANT_VERSION=v2.1.5 + rvm: 2.6.1