Skip to content

Commit b8da360

Browse files
jrfnlgrogy
authored andcommitted
Travis: only run PHPCS once
The results of PHPCS won't change depending on the PHP version, so no need to run PHPCS on every build. Just run it on one.
1 parent 3075a5b commit b8da360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ before_script:
2828

2929
script:
3030
- ant phplint
31-
- ant phpcs
31+
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.4" ]]; then ant phpcs;fi
3232
- ant phpunit

0 commit comments

Comments
 (0)