fastNLP/.travis.yml
2019-09-17 19:37:37 +08:00

17 lines
362 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)