|
123456789101112131415161718192021222324252627282930 |
- 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
|