Skip to content

Commit d55b960

Browse files
committed
Merge pull request alsotang#13 from Ralph-Wang/master
补充 services 相关
2 parents c830cf7 + b74cac1 commit d55b960

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lesson13/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,15 @@ travis 接着会做的事情是:
7070

7171
对了,行覆盖率的那个 badge 是由一个叫 coveralls(https://coveralls.io/ ) 的服务提供的。大家可以试着自己接入。
7272

73+
## 补充说明:
74+
75+
如果你的应用有使用到数据库, 需要在 `.travis.yml` 中添加一些内容.
76+
77+
以 MongoDB 为例:
78+
79+
```yml
80+
services:
81+
mongodb
82+
```
83+
84+
其它数据库详细内容参考[travis 官方文档](http://docs.travis-ci.com/user/database-setup/)

0 commit comments

Comments
 (0)