File tree Expand file tree Collapse file tree 2 files changed +40
-40
lines changed Expand file tree Collapse file tree 2 files changed +40
-40
lines changed Original file line number Diff line number Diff line change 1
- language : php
2
-
3
- sudo : false
4
-
5
- cache :
6
- directories :
7
- - $HOME/.composer/cache
8
-
9
- env : # intentionally blank
10
-
11
- php :
12
- - 7.0
13
- - 7.1
14
-
15
- matrix :
16
- fast_finish : true
17
- include :
18
- - php : 7.1
19
- env : COVERAGE="1"
20
- allow_failures :
21
- - php : 7.1
22
- env : COVERAGE="1"
23
-
24
- install :
25
- - travis_retry composer install --no-interaction --prefer-dist
26
-
27
- script :
28
- - >
29
- if [ "$COVERAGE" != "1" ]; then
30
- phpenv config-rm xdebug.ini
31
- && composer check; fi
32
- - if [ "$COVERAGE" == "1" ]; then ./vendor/bin/phpunit --coverage-clover=./coverage.xml; fi
33
-
34
- after_success :
35
- - >
36
- if [ $COVERAGE == "1" ]; then
37
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
38
- && php ./coveralls.phar --verbose
39
- || true; fi
1
+ language : php
2
+
3
+ sudo : false
4
+
5
+ cache :
6
+ directories :
7
+ - $HOME/.composer/cache
8
+
9
+ env : # intentionally blank
10
+
11
+ php :
12
+ - 7.1
13
+ - 7.2
14
+
15
+ matrix :
16
+ fast_finish : true
17
+ include :
18
+ - php : 7.2
19
+ env : COVERAGE="1"
20
+ allow_failures :
21
+ - php : 7.2
22
+ env : COVERAGE="1"
23
+
24
+ install :
25
+ - travis_retry composer install --no-interaction --prefer-dist
26
+
27
+ script :
28
+ - >
29
+ if [ "$COVERAGE" != "1" ]; then
30
+ phpenv config-rm xdebug.ini
31
+ && composer check; fi
32
+ - if [ "$COVERAGE" == "1" ]; then ./vendor/bin/phpunit --coverage-clover=./coverage.xml; fi
33
+
34
+ after_success :
35
+ - >
36
+ if [ $COVERAGE == "1" ]; then
37
+ wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
38
+ && php ./coveralls.phar --verbose
39
+ || true; fi
Original file line number Diff line number Diff line change 11
11
}
12
12
],
13
13
"require" : {
14
- "php" : " ^7.0 "
14
+ "php" : " ^7.1 "
15
15
},
16
16
"require-dev" : {
17
17
"jakub-onderka/php-parallel-lint" : " ^0.9.2" ,
You can’t perform that action at this time.
0 commit comments