mirror of
https://gitee.com/fastnlp/fastNLP.git
synced 2024-12-05 05:38:31 +08:00
15 lines
294 B
YAML
15 lines
294 B
YAML
language: python
|
|
python:
|
|
- "3.6"
|
|
# command to install dependencies
|
|
install:
|
|
- pip install --quiet -r requirements.txt
|
|
- pip install pytest>=3.6
|
|
- pip install pytest-cov
|
|
# command to run tests
|
|
script:
|
|
- pytest --cov=./ test/
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|