File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,35 @@ matrix:
1212 fast_finish : true
1313 include :
1414 - php : 7.4
15+ env : LINT=1
1516 addons :
1617 apt :
1718 packages :
1819 - libxml2-utils
1920 - php : 5.4
2021
22+ - php : 7.4
23+ env : PHPCOMPAT="dev-develop as 9.99.99"
24+
25+ allow_failures :
26+ # Allow failures for unstable builds.
27+ - env : PHPCOMPAT="dev-develop as 9.99.99"
28+
2129before_install :
2230 # Speed up build time by disabling Xdebug when its not needed.
2331 - phpenv config-rm xdebug.ini || echo 'No xdebug config.'
2432 - export XMLLINT_INDENT=" "
33+ - |
34+ if [[ $PHPCOMPAT ]]; then
35+ composer config minimum-stability dev
36+ composer require --no-update phpcompatibility/php-compatibility:"${PHPCOMPAT}"
37+ fi
2538 - composer install
2639 - vendor/bin/phpcs -i
2740
2841script :
2942 - |
30- if [[ $TRAVIS_PHP_VERSION == "7.4 " ]]; then
43+ if [[ $LINT == "1 " ]]; then
3144 # Validate the xml file.
3245 # @link http://xmlsoft.org/xmllint.html
3346 xmllint --noout ./*/ruleset.xml
You can’t perform that action at this time.
0 commit comments