mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-08 17:07:33 +08:00
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:
committed by
Carsten Brandt
parent
706fcec374
commit
a7ee60f9d2
13
.travis.yml
13
.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:
|
||||
|
||||
Reference in New Issue
Block a user