File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,13 @@ language: php
2
2
sudo : false
3
3
4
4
cache :
5
- directories :
6
- - vendor
7
- - $HOME/.composer/cache
5
+ directories :
6
+ - vendor
7
+ - $HOME/.composer/cache
8
+
9
+ env :
10
+ global :
11
+ - TEST_COMMAND="vendor/bin/phpunit --verbose --coverage-text"
8
12
9
13
php :
10
14
- 5.6
@@ -16,9 +20,15 @@ matrix:
16
20
include :
17
21
- php : hhvm
18
22
dist : trusty
23
+ - php : 7.2
24
+ name : Backward compatibillity check
25
+ env : DEPENDENCIES="roave/backward-compatibility-check" TEST_COMMAND="./vendor/bin/roave-backward-compatibility-check"
26
+
27
+ before_install :
28
+ - if ! [ -z "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
19
29
20
30
install :
21
31
- travis_retry composer install --no-interaction
22
32
23
33
script :
24
- - vendor/bin/phpunit --verbose --coverage-text
34
+ - $TEST_COMMAND
You can’t perform that action at this time.
0 commit comments