Skip to content

Commit 460634a

Browse files
committed
Update travis config
1 parent 0b2b0fb commit 460634a

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

.travis.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
language: php
22

3-
sudo: false
4-
53
php:
6-
- 5.6
7-
- 7.0
84
- 7.2
9-
- 7.3
10-
11-
5+
- 7.4
126

137
matrix:
148
include:
15-
- php: 7.3
9+
- php: 7.2
1610
env: PHPCS=1
1711

18-
before_script: composer install --prefer-dist --dev
12+
before_script: composer install
1913

2014
script:
21-
- sh -c "if [ '$PHPCS' != '1' ]; then vendor/bin/phpunit; fi"
22-
- sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p -n --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi"
15+
- if [[ $PHPCS != 1 ]]; then vendor/bin/phpunit; fi
16+
- if [[ $PHPCS == 1 ]]; then vendor/bin/phpcs -p -n --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi
2317

2418
notifications:
2519
email: false

0 commit comments

Comments
 (0)