forked from mirror/_s
Minor automated testing tweaks.
* Add PHP 7.1 to the travis test matrix as it will be released soon. * Set `testVersion` for PHPCompatibility so we receive the messages for the right PHP versions.
This commit is contained in:
parent
f9471cdfb7
commit
ccaa222ba4
|
@ -25,8 +25,10 @@ matrix:
|
||||||
# aliased to a recent 5.6.x version
|
# aliased to a recent 5.6.x version
|
||||||
- php: '5.6'
|
- php: '5.6'
|
||||||
env: SNIFF=1
|
env: SNIFF=1
|
||||||
# aliased to a recent 7.x version
|
# aliased to a recent 7.0.x version
|
||||||
- php: '7.0'
|
- php: '7.0'
|
||||||
|
# aliased to a recent 7.1.x version
|
||||||
|
- php: '7.1'
|
||||||
# aliased to a recent hhvm version
|
# aliased to a recent hhvm version
|
||||||
- php: 'hhvm'
|
- php: 'hhvm'
|
||||||
|
|
||||||
|
|
|
@ -14,5 +14,6 @@
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<!-- Include sniffs for PHP cross-version compatibility. -->
|
<!-- Include sniffs for PHP cross-version compatibility. -->
|
||||||
|
<config name="testVersion" value="5.2-99.0"/>
|
||||||
<rule ref="PHPCompatibility"/>
|
<rule ref="PHPCompatibility"/>
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
|
Reference in New Issue