1
0
Fork 0
forked from blallo/rss-bridge

Merge pull request #619 from RSS-Bridge/teromene-patch-1

Update .travis.yml
This commit is contained in:
Teromene 2018-01-11 11:44:37 +00:00 committed by GitHub
commit 1506e68587
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,20 +2,6 @@ dist: trusty
sudo: false sudo: false
language: php 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: install:
- pear channel-update pear.php.net - pear channel-update pear.php.net
- pear install PHP_CodeSniffer - pear install PHP_CodeSniffer