From dd575b97089f626b899d02502abb1cc8c01a8aed Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sat, 10 May 2014 11:40:23 -0700 Subject: [PATCH] Speed up nokogiri installation during Travis runs Version 1.6 of Nokogiri builds its own copy of libxml2 during installation. Setting `NOKOGIRI_USE_SYSTEM_LIBRARIES=true` skips this step and shaves about a minute off of Travis runs. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6aa726c48..9baf9785e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,7 @@ before_install: - sudo apt-get install -qq -y bsdtar rvm: - 2.0.0 +env: + global: + - NOKOGIRI_USE_SYSTEM_LIBRARIES=true script: rake test:unit