mirror of
https://gitee.com/fastnlp/fastNLP.git
synced 2024-12-02 04:07:35 +08:00
add code coverage
This commit is contained in:
parent
77b3a0c67d
commit
380fc251f4
13
.travis.yml
Normal file
13
.travis.yml
Normal file
@ -0,0 +1,13 @@
|
||||
language: python
|
||||
python:
|
||||
- "3.6"
|
||||
# command to install dependencies
|
||||
install:
|
||||
- pip install --quiet -r requirements.txt
|
||||
- pip install pytest pytest-cov
|
||||
# command to run tests
|
||||
script:
|
||||
- pytest --cov=./
|
||||
|
||||
after_success:
|
||||
- codecov
|
@ -1,4 +1,6 @@
|
||||
# FastNLP
|
||||
[![Build Status](https://travis-ci.org/fastnlp/fastNLP.svg?branch=master)](https://travis-ci.org/fastnlp/fastNLP)
|
||||
[![codecov](https://codecov.io/gh/fastnlp/fastNLP/branch/master/graph/badge.svg)](https://codecov.io/gh/fastnlp/fastNLP)
|
||||
```
|
||||
FastNLP
|
||||
├── docs
|
||||
|
Loading…
Reference in New Issue
Block a user