Skip to content

Commit

Permalink
Add TravisCI to check code style (overtrue#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
nauxliu authored and overtrue committed Nov 11, 2018
1 parent 2a31433 commit cf1fcc3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: php

php:
- 7.2

before_script:
- composer self-update
- composer install --no-interaction

script:
- ./vendor/bin/php-cs-fixer fix --dry-run --diff 1>&2
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

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

[![Build Status](https://travis-ci.org/overtrue/api.yike.io.svg?branch=master)](https://travis-ci.org/overtrue/api.yike.io)

此项目为 https://yike.io 的后端 API,基于 Laravel 5 开发。

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

0 comments on commit cf1fcc3

Please sign in to comment.