Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Added load.environment.php file to keep for deploy
  Updated badges in README
  Updated travis configuration
  Removed old codeclimate test reporter package
  • Loading branch information
daften committed Sep 10, 2018
2 parents b9742c2 + 12d4e09 commit 459d8ed
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
env:
global:
- CC_TEST_REPORTER_ID=529e60e24df4d0d72b61d8efca05d763f626539eadc2d8154218c7c3af73b662
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
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ Drupal 8 Packaging/Compile tasks for Robo Task Runner
[![Latest Stable Version](https://poser.pugx.org/digipolisgent/robo-digipolis-package-drupal8/v/stable)](https://packagist.org/packages/digipolisgent/robo-digipolis-package-drupal8)
[![Latest Unstable Version](https://poser.pugx.org/digipolisgent/robo-digipolis-package-drupal8/v/unstable)](https://packagist.org/packages/digipolisgent/robo-digipolis-package-drupal8)
[![Total Downloads](https://poser.pugx.org/digipolisgent/robo-digipolis-package-drupal8/downloads)](https://packagist.org/packages/digipolisgent/robo-digipolis-package-drupal8)
[![PHP 7 ready](http://php7ready.timesplinter.ch/digipolisgent/robo-digipolis-package-drupal8/develop/badge.svg)](https://travis-ci.org/digipolisgent/robo-digipolis-package-drupal8)
[![License](https://poser.pugx.org/digipolisgent/robo-digipolis-package-drupal8/license)](https://packagist.org/packages/digipolisgent/robo-digipolis-package-drupal8)

[![Build Status](https://travis-ci.org/digipolisgent/robo-digipolis-package-drupal8.svg?branch=develop)](https://travis-ci.org/digipolisgent/robo-digipolis-package-drupal8)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/7520a070-4500-494e-80c8-e0b109fb3db6/mini.png)](https://insight.sensiolabs.com/projects/7520a070-4500-494e-80c8-e0b109fb3db6)
[![Code Climate](https://codeclimate.com/github/digipolisgent/robo-digipolis-package-drupal8/badges/gpa.svg)](https://codeclimate.com/github/digipolisgent/robo-digipolis-package-drupal8)
[![Test Coverage](https://codeclimate.com/github/digipolisgent/robo-digipolis-package-drupal8/badges/coverage.svg)](https://codeclimate.com/github/digipolisgent/robo-digipolis-package-drupal8/coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/8f19beedf27fd62dcdf5/maintainability)](https://codeclimate.com/github/digipolisgent/robo-digipolis-package-drupal8/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/8f19beedf27fd62dcdf5/test_coverage)](https://codeclimate.com/github/digipolisgent/robo-digipolis-package-drupal8/test_coverage)
[![PHP 7 ready](https://php7ready.timesplinter.ch/digipolisgent/robo-digipolis-package-drupal8/develop/badge.svg)](https://travis-ci.org/digipolisgent/robo-digipolis-package-drupal8)

## 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 @@
"digipolisgent/robo-digipolis-package": "^0.1.1"
},
"require-dev": {
"phpunit/phpunit": "~4.4",
"codeclimate/php-test-reporter": "dev-master"
"phpunit/phpunit": "~4.4"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/PackageDrupal8.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function prepareMirrorDir()
$folders = new Finder();
$folders->in($this->tmpDir);
$folders->depth(0);
$folders->notPath('/^(web|vendor|config|RoboFile\.php|properties\.yml|composer\.json)$/');
$folders->notPath('/^(web|vendor|config|RoboFile\.php|properties\.yml|load\.environment\.php|composer\.json)$/');
$folders->ignoreDotFiles(false);
$this->fs->remove($folders);

Expand Down

0 comments on commit 459d8ed

Please sign in to comment.