fastNLP/.travis.yml
2019-08-16 00:58:56 +08:00

18 lines
313 B
YAML

language: python
python:
- "3.6"
env:
- TRAVIS=1
# command to install dependencies
install:
- pip install --quiet -r requirements.txt
- pip install pytest>=3.6
- pip install pytest-cov
# command to run tests
script:
- pytest --cov=./ test/
after_success:
- bash <(curl -s https://codecov.io/bash)