fastNLP/.travis.yml
Yining Zheng 720d7b8729
Update .travis.yml
Add the webhook to notify the feishu group
2020-09-13 20:29:52 +08:00

27 lines
713 B
YAML

language: python
python:
- "3.6"
# command to install dependencies
install:
- pip install --quiet -r requirements.txt
- pip install --quiet fitlog
- pip install pytest>=3.6
- pip install pytest-cov
# command to run tests
script:
- python -m spacy download en
- pytest --cov=fastNLP test/
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
webhooks:
urls:
- https://open.feishu.cn/officialapp/notify/55ba4b15d04608e875c122f11484a4e2fa807c42b9ca074509bea654d1b99ca6
on_success: always # default: always
on_failure: always # default: always
on_start: never # default: never
on_cancel: always # default: always
on_error: always # default: always