Adjust travis config for nokogiri.

No longer supports 1.8.7 and takes ages to install, so cache.
If in travis, don't wait for a server address.

Not doing these tests yet in travis as we need a Taverna Server for them.