Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Commit

Permalink
Update project setup.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed May 18, 2015
1 parent 002ca2e commit 8235802
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,7 +27,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "3.1-dev"
"dev-master": "3.2-dev"
}
},
"minimum-stability": "dev"
Expand Down

0 comments on commit 8235802

Please sign in to comment.