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

68 lines
1.1 KiB
YAML

sudo: false
dist: xenial
language: python
notifications:
email: false
python:
- 3.8-dev
- 3.7
- 3.6
- 3.5
- 2.7
stages:
- lint
- moban
- test
.disable_global: &disable_global
addons: false
cache: false
env: {}
python: false
before_install: false
install: false
before_script: false
script: false
after_success: false
after_failure: false
before_deploy: false
deploy: false
.lint: &lint
<<: *disable_global
git:
submodules: false
python: 3.6
stage: lint
script: make lint
.moban: &moban
<<: *disable_global
python: 3.6
stage: moban
install: pip install moban>=0.0.4
script:
- moban
- git diff --exit-code
jobs:
include:
- *moban
- *lint
stage: 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