提交 c37241ca 编写于 作者: 李光春's avatar 李光春

update *.yml、*.md

上级 13c036a2
# 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 image: php:latest
# Select what we should cache between builds
cache:
paths:
- vendor/
before_script: before_script:
- apt-get update -yqq - 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 - 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: ...@@ -19,19 +12,6 @@ before_script:
- curl -sS https://getcomposer.org/installer | php - curl -sS https://getcomposer.org/installer | php
- php composer.phar install - 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: test:
script: script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never - composer update -vvv
...@@ -4,4 +4,7 @@ go: ...@@ -4,4 +4,7 @@ go:
- '7.1' - '7.1'
script: script:
- composer update -vvv - composer update -vvv
\ No newline at end of file
after_success:
- bash <(curl -s https://codecov.io/bash)
\ No newline at end of file
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
[![branches](https://badgen.net/github/branches/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/branches) [![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) [![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) [![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) [![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 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) [![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 @@ ...@@ -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) [![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) [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 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/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/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/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/v6)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms)
[comment]: <> (www.travis-ci.com) [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) [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) [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) [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)
## 依赖环境 ## 依赖环境
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册