forked from blallo/rss-bridge
1ea091f215
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/
21 lines
No EOL
336 B
YAML
21 lines
No EOL
336 B
YAML
dist: precise
|
|
language: php
|
|
php:
|
|
- '5.6'
|
|
- '7.0'
|
|
- hhvm
|
|
- nightly
|
|
|
|
install:
|
|
- pear channel-update pear.php.net
|
|
- pear install PHP_CodeSniffer
|
|
|
|
script:
|
|
- phpenv rehash
|
|
- phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- php: hhvm
|
|
- php: nightly |