Skip to content

Commit 46b4743

Browse files
committed
Updated wercker and comoser json
1 parent 8770f2d commit 46b4743

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ $processor->getResizedImages()->each(function ($resizedImage){
4949

5050
<a href="https://codeclimate.com/github/ujwaldhakal/image-processor/maintainability"><img src="https://api.codeclimate.com/v1/badges/4a3e5545d7d1bed95506/maintainability" /></a>
5151

52-
[![Build Status](https://travis-ci.com/ujwaldhakal/image-processor.svg?branch=master)](https://travis-ci.com/ujwaldhakal/image-processor)
52+
[![wercker status](https://app.wercker.com/status/a11686d82a657228100cdd2886bc5b63/s/master "wercker status")](https://app.wercker.com/project/byKey/a11686d82a657228100cdd2886bc5b63)

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "pagevamp/laravel-image-processor",
33
"description": "Package for uploading / resizing images into disk. Tested with s3/local & laravel 5.8",
44
"type": "library",
5-
"license": "MIT",
65
"require": {
76
"laravel/framework": "5.*",
87
"intervention/image": "^2.5"

wercker.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
box:
2+
id: pagevamp/php-test:72-cli
3+
cmd: /bin/sh
4+
command-timeout: 40
5+
build:
6+
steps:
7+
- script:
8+
name: cache composer dependencies
9+
code: export COMPOSER_CACHE_DIR="$WERCKER_CACHE_DIR/composer" && mkdir -p $COMPOSER_CACHE_DIR
10+
- script:
11+
name: copy vendor from cache
12+
code: |
13+
[ -d $COMPOSER_CACHE_DIR/vendor ] && cp -Rf $COMPOSER_CACHE_DIR/vendor vendor || echo 'Cached vendor not found'
14+
- script:
15+
name: install dependencies
16+
code: composer install --no-interaction --prefer-dist
17+
- script:
18+
name: copy vendor to cache
19+
code: cp -Rf vendor $COMPOSER_CACHE_DIR
20+
- script:
21+
name: fix sym links
22+
code: ln -sf ../phpunit/phpunit/phpunit vendor/bin/phpunit && ln -sf ../brianium/paratest/bin/paratest vendor/bin/paratest
23+
- script:
24+
name: run phpunit
25+
code: vendor/bin/phpunit

0 commit comments

Comments
 (0)