Skip to content

Commit cf1fcc3

Browse files
nauxliuovertrue
authored andcommitted
Add TravisCI to check code style (overtrue#12)
1 parent 2a31433 commit cf1fcc3

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: php
2+
3+
php:
4+
- 7.2
5+
6+
before_script:
7+
- composer self-update
8+
- composer install --no-interaction
9+
10+
script:
11+
- ./vendor/bin/php-cs-fixer fix --dry-run --diff 1>&2

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
<h1 align="left"><a href="https://yike.io">Yike.io</a></h1>
55

6+
[![Build Status](https://travis-ci.org/overtrue/api.yike.io.svg?branch=master)](https://travis-ci.org/overtrue/api.yike.io)
7+
68
此项目为 https://yike.io 的后端 API,基于 Laravel 5 开发。
79

810
> 🏵前端源码:https://github.com/overtrue/yike.io

0 commit comments

Comments
 (0)