加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 734 Bytes
一键复制 编辑 原始数据 按行查看 历史
WillQvQ 提交于 2020-11-23 13:00 . 把测试文件夹 test 改名为 tests
language: python
python:
- "3.6"
env:
- TRAVIS=1
# 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 tests/
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化