Skip to content

Commit 7ad8e38

Browse files
authored
Merge pull request #2 from ajaaleixo/develop
Develop
2 parents 3fcc10e + 0f31606 commit 7ad8e38

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

.circleci/config.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# PHP CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-php/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
docker:
9+
# Specify the version you desire here
10+
- image: circleci/php:7.1-node-browsers
11+
12+
# Specify service dependencies here if necessary
13+
# CircleCI maintains a library of pre-built images
14+
# documented at https://circleci.com/docs/2.0/circleci-images/
15+
# Using the RAM variation mitigates I/O contention
16+
# for database intensive operations.
17+
# - image: circleci/mysql:5.7-ram
18+
#
19+
# - image: redis:2.8.19
20+
21+
steps:
22+
- checkout
23+
24+
- run: sudo apt update # PHP CircleCI 2.0 Configuration File# PHP CircleCI 2.0 Configuration File sudo apt install zlib1g-dev libsqlite3-dev
25+
- run: sudo docker-php-ext-install zip
26+
27+
# Download and cache dependencies
28+
- restore_cache:
29+
keys:
30+
# "composer.lock" can be used if it is committed to the repo
31+
- v1-dependencies-{{ checksum "composer.json" }}
32+
# fallback to using the latest cache if no exact match is found
33+
- v1-dependencies-
34+
35+
- run: composer install -n --prefer-dist
36+
37+
- save_cache:
38+
key: v1-dependencies-{{ checksum "composer.json" }}
39+
paths:
40+
- ./vendor
41+
- restore_cache:
42+
keys:
43+
- node-v1-{{ checksum "package.json" }}
44+
- node-v1-
45+
46+
# run tests with phpunit and report back to codacy
47+
- run: ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
48+
- run: ./vendor/bin/codacycoverage clover

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6b7c8831c69249588f5bb33add5313ce)](https://www.codacy.com/app/ajaaleixo/laravel-middleware-correlation-id?utm_source=github.com&utm_medium=referral&utm_content=ajaaleixo/laravel-middleware-correlation-id&utm_campaign=Badge_Grade)
2+
[![CircleCI](https://circleci.com/gh/ajaaleixo/laravel-middleware-correlation-id/tree/master.svg?style=svg)](https://circleci.com/gh/ajaaleixo/laravel-middleware-correlation-id/tree/master)
23
[![Downloads](https://img.shields.io/packagist/dt/ajaaleixo/laravel-middleware-correlation-id)](https://packagist.org/packages/ajaaleixo/laravel-middleware-correlation-id)
34

4-
55
# Laravel Correlation ID Middleware
66
Supports L5.5+
77

0 commit comments

Comments
 (0)