Skip to content

Commit

Permalink
Travis: PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vasa-c committed Jan 8, 2018
1 parent 9fa5d59 commit 0cc3539
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ language: php
matrix:
include:
- php: 5.4
env: CHECKS=yes
env: CHECKS=yes PU4=yes
- php: 5.5
env: PU4=yes
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: hhvm

sudo: false
Expand All @@ -41,13 +43,14 @@ install:
# Composer can not used dist (github required the auth token). Just specify prefer-source.
- composer install --prefer-source
# In order not to litter in the local dev-version specify checks-packages here instead composer.json
- composer require phpunit/phpunit=4.8.35 --prefer-source
- if [ "$PU4" = "yes" ]; then PU_VER="^4"; else PU_VER="^5"; fi;
- composer require phpunit/phpunit=$PU_VER --prefer-source
- PU="php vendor/bin/phpunit"
- if [ "$CHECKS" = "yes" ]; then composer require squizlabs/php_codesniffer="~2.3" --prefer-source; fi;
- if [ "$CHECKS" = "yes" ]; then composer require satooshi/php-coveralls --dev --prefer-source; fi;
# Generate the coveralls config (not to keep it in the repo)
- >
if [ "$CHECKS" = "yes" ]; then
if [ "$CHECKS" = "yes" ]; then
echo "json_path: coveralls-upload.json" >> .coveralls.yml &&
echo "coverage_clover: clover.xml" >> .coveralls.yml;
fi;
Expand Down

0 comments on commit 0cc3539

Please sign in to comment.