Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelle-S committed Nov 24, 2017
2 parents 08afd0a + 6797b5c commit 5f08c4b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
env:
global:
- CC_TEST_REPORTER_ID=cdc75eaf44ab340391ebe7bae0e986bc418615b4d34d90eef6fffbf1166571b4
language: php
php:
- 7.1
- 7.0
- 5.6
- 5.5
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
install:
- composer self-update
- composer install --dev
script:
- vendor/bin/robo test:coverage-codeclimate
addons:
code_climate:
repo_token: ***REMOVED***
after_success:
- vendor/bin/test-reporter
after_script:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi

8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ General Packaging/Compile tasks for Robo Task Runner
[![Latest Stable Version](https://poser.pugx.org/digipolisgent/robo-digipolis-package/v/stable)](https://packagist.org/packages/digipolisgent/robo-digipolis-package)
[![Latest Unstable Version](https://poser.pugx.org/digipolisgent/robo-digipolis-package/v/unstable)](https://packagist.org/packages/digipolisgent/robo-digipolis-package)
[![Total Downloads](https://poser.pugx.org/digipolisgent/robo-digipolis-package/downloads)](https://packagist.org/packages/digipolisgent/robo-digipolis-package)
[![PHP 7 ready](http://php7ready.timesplinter.ch/digipolisgent/robo-digipolis-package/develop/badge.svg)](https://travis-ci.org/digipolisgent/robo-digipolis-package)
[![License](https://poser.pugx.org/digipolisgent/robo-digipolis-package/license)](https://packagist.org/packages/digipolisgent/robo-digipolis-package)

[![Build Status](https://travis-ci.org/digipolisgent/robo-digipolis-package.svg?branch=develop)](https://travis-ci.org/digipolisgent/robo-digipolis-package)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/1f156f4e-6537-46ae-a946-dec578631d95/mini.png)](https://insight.sensiolabs.com/projects/1f156f4e-6537-46ae-a946-dec578631d95)
[![Code Climate](https://codeclimate.com/github/digipolisgent/robo-digipolis-package/badges/gpa.svg)](https://codeclimate.com/github/digipolisgent/robo-digipolis-package)
[![Test Coverage](https://codeclimate.com/github/digipolisgent/robo-digipolis-package/badges/coverage.svg)](https://codeclimate.com/github/digipolisgent/robo-digipolis-package/coverage)
[![Dependency Status](https://www.versioneye.com/user/projects/588617eab194d40039c906dd/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/588617eab194d40039c906dd)
[![Maintainability](https://api.codeclimate.com/v1/badges/7d98babbd043d51bc40f/maintainability)](https://codeclimate.com/github/digipolisgent/robo-digipolis-package/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/7d98babbd043d51bc40f/test_coverage)](https://codeclimate.com/github/digipolisgent/robo-digipolis-package/test_coverage)
[![PHP 7 ready](https://php7ready.timesplinter.ch/digipolisgent/robo-digipolis-package/develop/badge.svg)](https://travis-ci.org/digipolisgent/robo-digipolis-package)

## Commands

Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"pear/archive_tar": "^1.4"
},
"require-dev": {
"phpunit/phpunit": "~4.4",
"codeclimate/php-test-reporter": "dev-master"
"phpunit/phpunit": "~4.4"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 2 additions & 0 deletions src/ThemeCompile.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ public function __construct($dir = null, $command = 'compile')
*/
public function run()
{
// Print the output of the compile commands.
$this->printed();
if (file_exists($this->dir . '/Gemfile')) {
$bundle = $this->findExecutable('bundle');
$this->processes[] = new Process(
Expand Down

0 comments on commit 5f08c4b

Please sign in to comment.