Skip to content

Commit 5c700b1

Browse files
committed
Updated travis config to use php 5.4 composer command when php version is 5.2.
1 parent 104b663 commit 5c700b1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ script:
9090
if [[ "$NPM_TESTS" == "1" ]]; then
9191
npm test
9292
else
93-
composer phpcs
93+
if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then
94+
/home/travis/.phpenv/versions/5.4/bin/composer phpcs
95+
else
96+
composer phpcs
97+
fi
98+
9499
phpunit
95100
fi

0 commit comments

Comments
 (0)