File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 6
6
- RUN_TESTS=1
7
7
8
8
php :
9
- - 5.6
10
- - 7.0
11
- - hhvm
9
+ - 7.3
12
10
13
11
sudo : false
14
12
15
13
matrix :
16
14
include :
17
- - php : 5.6
15
+ - php : 7.2
18
16
env : PHPCS=1 RUN_TESTS=0
19
17
20
18
before_script :
@@ -23,7 +21,7 @@ before_script:
23
21
24
22
script :
25
23
- sh -c "if [ '$RUN_TESTS' = '1' ]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover; fi"
26
- - sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p -n --extensions=php --standard=psr2 ./src ./tests; fi"
24
+ - sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p ./src ./tests; fi"
27
25
28
26
after_script :
29
27
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
You can’t perform that action at this time.
0 commit comments