From a7ee60f9d25700d167772bf9b5631274e15d0279 Mon Sep 17 00:00:00 2001 From: Alexey Rogachev Date: Thu, 1 Dec 2016 10:20:13 +0100 Subject: [PATCH] Switch travis OR from precise to trusty Switch from precise to trusty is required mainly because of jsdom dependency. It requires Node.js > 4. Precise has very old Node.js and NPM versions and they can not be updated because of default versions of C++ compilers. While it's possible somehow to install Node 6 on Precise, see this [document](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md), I think this is not elegant solution and I'm not 100% sure it will work correctly with Travis and container-based precise dist. Trusty has v6.3.0 by default which is enough and way better and newer. --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index 46e676e6eb..4b83d12287 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,18 @@ +# +# Travis Setup +# + +# use ubuntu trusty for newer version of nodejs, used for JS testing +dist: trusty + # faster builds on new travis setup not using sudo sudo: false + + +# +# Test Matrix +# + language: php php: