debian-python-pyexcel-ods/.travis.yml

50 lines
854 B
YAML

sudo: false
dist: xenial
language: python
notifications:
email: false
python:
- 3.8-dev
- 3.7
- 3.6
- 3.5
- 2.7
stages:
- test
- lint
.disable_global: &disable_global
before_install: false
install: true
before_script: false
after_success: false
after_failure: false
.lint: &lint
<<: *disable_global
python: 3.6
stage: lint
install: pip install flake8
script: make lint
jobs:
include:
- *lint
stage: test
script: make test
before_install:
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
mv min_requirements.txt requirements.txt ;
fi
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
- pip install -r tests/requirements.txt
script:
- make test
after_success:
codecov