diff --git a/.codechina-ci.yml b/.codechina-ci.yml index 100eb5fec832d9c42b1087a8eb8c2ca669ae4528..7b0763cb16af68cd816bc64566eeed5663380ad1 100644 --- a/.codechina-ci.yml +++ b/.codechina-ci.yml @@ -1,12 +1,5 @@ -# This file is a template, and might need editing before it works on your project. -# Select image from https://hub.docker.com/_/php/ image: php:latest -# Select what we should cache between builds -cache: - paths: - - vendor/ - before_script: - apt-get update -yqq - apt-get install -yqq git libmcrypt-dev libpq-dev libcurl4-gnutls-dev libicu-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev @@ -19,19 +12,6 @@ before_script: - curl -sS https://getcomposer.org/installer | php - php composer.phar install -# Bring in any services we need http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service -# See http://docs.gitlab.com/ee/ci/services/README.html for examples. -services: - - mysql:5.7 - -# Set any variables we need -variables: - # Configure mysql environment variables (https://hub.docker.com/r/_/mysql/) - MYSQL_DATABASE: mysql_database - MYSQL_ROOT_PASSWORD: mysql_strong_password - -# Run our tests -# If Xdebug was installed you can generate a coverage report and see code coverage metrics. test: script: - - vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never + - composer update -vvv diff --git a/.travis.yml b/.travis.yml index f05845a4e2a0727a43f39d834aefdcf04785afba..5331b55b7b74fb67e9eaaabf8ce7e3ac7c41cce2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,7 @@ go: - '7.1' script: - - composer update -vvv \ No newline at end of file + - composer update -vvv + +after_success: + - bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/README.md b/README.md index 922069fcf05882ffea9ea334493886715aee17aa..829a94eee7bc28327c1c97c98ef09db31ec8843e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ [![branches](https://badgen.net/github/branches/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/branches) [![releases](https://badgen.net/github/releases/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/releases) [![tags](https://badgen.net/github/tags/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/tags) -[![license](https://badgen.net/github/license/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/blob/master/LICENSE) +[![license](https://badgen.net/github/license/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/blob/v6/LICENSE) [![contributors](https://badgen.net/github/contributors/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/CONTRIBUTING.md) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/releases) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/tags) @@ -38,21 +38,21 @@ [![GitHub top language](https://img.shields.io/github/languages/top/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms) [comment]: <> (scrutinizer-ci.com) -[![Scrutinizer build (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/build/g/dtapps/think-qiniu-sms/master)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms) -[![Scrutinizer coverage (GitHub/BitBucket)](https://img.shields.io/scrutinizer/coverage/g/dtapps/think-qiniu-sms/master)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms) -[![Scrutinizer code quality (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/quality/g/dtapps/think-qiniu-sms/master)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms) +[![Scrutinizer build (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/build/g/dtapps/think-qiniu-sms/v6)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms) +[![Scrutinizer coverage (GitHub/BitBucket)](https://img.shields.io/scrutinizer/coverage/g/dtapps/think-qiniu-sms/v6)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms) +[![Scrutinizer code quality (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/quality/g/dtapps/think-qiniu-sms/v6)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms) [comment]: <> (www.travis-ci.com) -[![Travis (.com) branch](https://img.shields.io/travis/com/dtapps/think-qiniu-sms/master)](https://www.travis-ci.com/github/dtapps/think-qiniu-sms) +[![Travis (.com) branch](https://img.shields.io/travis/com/dtapps/think-qiniu-sms/v6)](https://www.travis-ci.com/github/dtapps/think-qiniu-sms) [comment]: <> (app.codecov.io) -[![Codecov branch](https://img.shields.io/codecov/c/github/dtapps/think-qiniu-sms/master)](https://app.codecov.io/gh/dtapps/think-qiniu-sms) +[![Codecov branch](https://img.shields.io/codecov/c/github/dtapps/think-qiniu-sms/v6)](https://app.codecov.io/gh/dtapps/think-qiniu-sms) [comment]: <> (gitlab.com) -[![gitlab (.com)](https://gitlab.com/dtapps/think-qiniu-sms/badges/master/pipeline.svg)](https://gitlab.com/dtapps/think-qiniu-sms) +[![gitlab (.com)](https://gitlab.com/dtapps/think-qiniu-sms/badges/v6/pipeline.svg)](https://gitlab.com/dtapps/think-qiniu-sms) [comment]: <> (codechina.csdn.net) -[![codechina.csdn (.net)](https://codechina.csdn.net/dtapps/think-qiniu-sms/badges/master/pipeline.svg)](https://codechina.csdn.net/dtapps/think-qiniu-sms) +[![codechina.csdn (.net)](https://codechina.csdn.net/dtapps/think-qiniu-sms/badges/v6/pipeline.svg)](https://codechina.csdn.net/dtapps/think-qiniu-sms) ## 依赖环境