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.
This commit is contained in:
Alexey Rogachev
2016-12-01 10:20:13 +01:00
committed by Carsten Brandt
parent 706fcec374
commit a7ee60f9d2

View File

@ -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: