diff --git a/.travis.yml b/.travis.yml index 39f0620..111e286 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,16 +7,26 @@ php: - 7.0 - hhvm +env: + global: + - DEFAULT=1 + before_script: - travis_retry composer self-update - - if [[ "$TRAVIS_PHP_VERSION" == *5.6* ]]; then travis_retry composer require "satooshi/php-coveralls:~0.6.1" "symfony/yaml=~2.0" --prefer-source --no-interaction --dev; else travis_retry composer install --prefer-source --no-interaction; fi + - if [[ $DEFAULT = '1' ]]; then travis_retry composer install --prefer-source --no-interaction; fi + - if [[ $COVERALLS == '1' ]]; then travis_retry composer require "psr/log=1.0.0" "satooshi/php-coveralls=~0.6" "symfony/yaml=~2.0" --prefer-source --no-interaction --dev; fi -script: if [[ "$TRAVIS_PHP_VERSION" == *5.6* ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; else phpunit -c phpunit.xml; fi +script: + - if [[ $COVERALLS == '1' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi + - if [[ $DEFAULT = '1' ]]; then phpunit -c phpunit.xml; fi after_script: - - if [[ "$TRAVIS_PHP_VERSION" == *5.6* ]]; then php vendor/bin/coveralls -v; fi + - if [[ $COVERALLS == '1' ]]; then php vendor/bin/coveralls -v; fi matrix: + include: + - php: 5.4 + env: COVERALLS=1 DEFAULT=0 allow_failures: - php: 7.0 - php: hhvm diff --git a/README.md b/README.md index d9ce00a..4bb8560 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,6 @@ Extension Updater (via FTP) for Orchestra Platform [![Latest Stable Version](https://img.shields.io/github/release/orchestral/ftp-updater.svg?style=flat)](https://packagist.org/packages/orchestra/ftp-updater) [![Total Downloads](https://img.shields.io/packagist/dt/orchestra/ftp-updater.svg?style=flat)](https://packagist.org/packages/orchestra/ftp-updater) [![MIT License](https://img.shields.io/packagist/l/orchestra/ftp-updater.svg?style=flat)](https://packagist.org/packages/orchestra/ftp-updater) -[![Build Status](https://img.shields.io/travis/orchestral/ftp-updater/master.svg?style=flat)](https://travis-ci.org/orchestral/ftp-updater) -[![Coverage Status](https://img.shields.io/coveralls/orchestral/ftp-updater/master.svg?style=flat)](https://coveralls.io/r/orchestral/ftp-updater?branch=master) -[![Scrutinizer Quality Score](https://img.shields.io/scrutinizer/g/orchestral/ftp-updater/master.svg?style=flat)](https://scrutinizer-ci.com/g/orchestral/ftp-updater/) +[![Build Status](https://img.shields.io/travis/orchestral/ftp-updater/3.1.svg?style=flat)](https://travis-ci.org/orchestral/ftp-updater) +[![Coverage Status](https://img.shields.io/coveralls/orchestral/ftp-updater/3.1.svg?style=flat)](https://coveralls.io/r/orchestral/ftp-updater?branch=3.1) +[![Scrutinizer Quality Score](https://img.shields.io/scrutinizer/g/orchestral/ftp-updater/3.1.svg?style=flat)](https://scrutinizer-ci.com/g/orchestral/ftp-updater/) diff --git a/composer.json b/composer.json index 6b3104c..34b6b0b 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { "name": "orchestra/ftp-updater", "description": "Extension Updater (via FTP) for Orchestra Platform", - "license": "MIT", "keywords": ["orchestra-platform", "orchestral"], + "license": "MIT", "authors": [ { "name": "Mior Muhammad Zaki", @@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "minimum-stability": "dev"