From 671cba4f68b59adac1c43f6d29fdc050d4c183f4 Mon Sep 17 00:00:00 2001 From: Teromene Date: Thu, 11 Jan 2018 11:41:25 +0000 Subject: [PATCH] Update .travis.yml Try to fix build failure --- .travis.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 794fdbf..cd5e2d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,20 +2,6 @@ dist: trusty sudo: false language: php -before_install: - # Circumvent a bug in current Travis CI builds using Ubuntu Trusty, where the - # include_path is wrong. - # - # Default is: - # - include_path='.:/home/travis/.phpenv/versions/5.6.31/share/pear' - # - # Should be: - # - include_path='.:/home/travis/.phpenv/versions/5.6.31/lib/php/pear' - # - # This applies to all builds except hhvm and nightly. Once the distro is fixed - # the following line can be removed - - if [[ ${TRAVIS_PHP_VERSION:0:1} == "5" || ${TRAVIS_PHP_VERSION:0:1} == "7" ]]; then echo "include_path='.:/home/travis/.phpenv/versions/$(phpenv version-name)/lib/php/pear'" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi - install: - pear channel-update pear.php.net - pear install PHP_CodeSniffer @@ -35,4 +21,4 @@ matrix: allow_failures: - php: hhvm - - php: nightly \ No newline at end of file + - php: nightly