From 1ea091f2151cddb3410d94d72015f1fe5f1c53b9 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sat, 23 Sep 2017 18:11:21 +0200 Subject: [PATCH] [.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/ --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 2ce44f91..75010d8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +dist: precise language: php php: - '5.6'