[.travis.yml] Fix Tavis CI build error

Travis CI recently updated the default distribution from Ubuntu
Precise to Ubuntu Trusty, which causes all builds except nightly
to fail.

For unknown reasons phpcs is unable to locate "PHP/CodeSniffer/
autoload.php" causing it to fail with a fatal error

The root cause of the failure is unknown. We explicitly return to
the previous build system (Ubuntu Precise) for builds to work again.

See the migration guide for reference:
https://docs.travis-ci.com/user/precise-to-trusty-migration-guide/

Notice: Ubuntu Precise is retired as of September 2017 and will be
decommissioned in the near future:
https://docs.travis-ci.com/user/reference/overview/
This commit is contained in:
logmanoriginal 2017-09-23 18:11:21 +02:00
parent 87fa4ae3ac
commit 1ea091f215

View file

@ -1,3 +1,4 @@
dist: precise
language: php
php:
- '5.6'