python.travis.mustache Maven / Gradle / Ivy
# ref: https://docs.travis-ci.com/user/languages/python
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install -r test-requirements.txt"
# command to run tests
{{#useNose}}
script: nosetests
{{/useNose}}
{{^useNose}}
script: pytest --cov={{{packageName}}}
{{/useNose}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy