Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
oanhnn committed Dec 22, 2018
1 parent a097a68 commit e26cd17
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Expand Up @@ -37,9 +37,11 @@

# Exclude unused files
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/phpcs.xml.dist export-ignore
/CHANGELOG.md export-ignore
/CONTRIBUTING.md export-ignore
45 changes: 28 additions & 17 deletions .travis.yml
@@ -1,33 +1,44 @@
dist: trusty
sudo: false
language: php

php:
- 7.1
- 7.2

env:
- ILLUMINATE_VERSION=5.6.*

matrix:
fast_finish: true

cache:
directories:
- $HOME/.composer/cache

matrix:
fast_finish: true
include:
- php: 7.1
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.1
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
- php: 7.1
env: LARAVEL='5.7.*' TESTBENCH='3.7.*'
- php: 7.2
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.2
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
- php: 7.2
env: LARAVEL='5.7.*' TESTBENCH='3.7.*' COVERAGE=1
- php: 7.3
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.3
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
- php: 7.3
env: LARAVEL='5.7.*' TESTBENCH='3.7.*'

before_install:
- travis_retry composer self-update
- travis_retry composer require "illuminate/contracts:${ILLUMINATE_VERSION}" --no-update
- travis_retry composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update
- travis_retry composer require --no-update --no-interaction "illuminate/support:${LARAVEL}" "orchestra/testbench:${TESTBENCH}"

install:
- travis_retry composer update --no-interaction --prefer-dist $COMPOSER_ARGS
- travis_retry composer update --no-interaction --no-suggest --prefer-dist $COMPOSER_ARGS

script:
- php vendor/bin/phpcs
- php vendor/bin/phpunit --coverage-clover=build/logs/clover.xml

after_success:
- travis_retry composer require php-coveralls/php-coveralls
- travis_retry php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
- if [[ $COVERAGE = '1' ]]; then
travis_retry composer require php-coveralls/php-coveralls;
travis_retry php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v;
fi
8 changes: 6 additions & 2 deletions README.md
@@ -1,7 +1,11 @@
# Introduction

[![Build Status](https://travis-ci.org/oanhnn/laravel-logzio.svg?branch=master)](https://travis-ci.org/oanhnn/laravel-logzio)
[![Coverage Status](https://coveralls.io/repos/github/oanhnn/laravel-logzio/badge.svg?branch=master)](https://coveralls.io/github/oanhnn/laravel-logzio?branch=master)
[![Latest Version](https://img.shields.io/packagist/v/oanhnn/laravel-logzio.svg)](https://packagist.org/packages/oanhnn/laravel-logzio)
[![Software License](https://img.shields.io/github/license/oanhnn/laravel-logzio.svg)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/oanhnn/laravel-logzio/master.svg)](https://travis-ci.org/oanhnn/laravel-logzio)
[![Coverage Status](https://img.shields.io/coveralls/github/oanhnn/laravel-logzio/master.svg)](https://coveralls.io/github/oanhnn/laravel-logzio?branch=master)
[![Total Downloads](https://img.shields.io/packagist/dt/oanhnn/laravel-logzio.svg)](https://packagist.org/packages/oanhnn/laravel-logzio)
[![Requires PHP](https://img.shields.io/travis/php-v/oanhnn/laravel-logzio.svg)](https://travis-ci.org/oanhnn/laravel-logzio)

Easy integrate [Logz.io](https://logz.io) into [Laravel](https://laravel.com) 5.6+ Application

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -34,10 +34,10 @@
"illuminate/support": "^5.6"
},
"require-dev": {
"mockery/mockery": "^0.9",
"mockery/mockery": "^1.0",
"orchestra/testbench": "^3.6",
"phpunit/phpunit": "~6.1|~7.0",
"squizlabs/php_codesniffer": "^3.0"
"phpunit/phpunit": "~6.3|~7.0",
"squizlabs/php_codesniffer": "^3.2"
},
"scripts": {
"phpunit": "php vendor/phpunit/phpunit/phpunit --coverage-html storage/coverage",
Expand Down

0 comments on commit e26cd17

Please sign in to comment.