You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 735 B

4 years ago
6 years ago
123456789101112131415161718192021222324252627282930
  1. language: python
  2. python:
  3. - "3.6"
  4. env:
  5. - TRAVIS=1
  6. # command to install dependencies
  7. install:
  8. - pip install --quiet -r requirements.txt
  9. - pip install --quiet fitlog
  10. - pip install pytest>=3.6
  11. - pip install pytest-cov
  12. # command to run tests
  13. script:
  14. # - python -m spacy download en
  15. - pytest --cov=fastNLP tests/
  16. after_success:
  17. - bash <(curl -s https://codecov.io/bash)
  18. notifications:
  19. webhooks:
  20. urls:
  21. - https://open.feishu.cn/officialapp/notify/55ba4b15d04608e875c122f11484a4e2fa807c42b9ca074509bea654d1b99ca6
  22. on_success: always # default: always
  23. on_failure: always # default: always
  24. on_start: never # default: never
  25. on_cancel: always # default: always
  26. on_error: always # default: always