We could also have set ALLOW_UNICODE globally, but this way we might catch situations where we definitely do not expect mixed results between py2 and py3.
23 lines
314 B
YAML
23 lines
314 B
YAML
---
|
|
|
|
language: python
|
|
dist: xenial
|
|
|
|
matrix:
|
|
include:
|
|
- python: '3.7'
|
|
env: RUN_FLAKE8=true
|
|
|
|
python:
|
|
- "3.7"
|
|
- "3.6"
|
|
- "2.7"
|
|
install:
|
|
- pip install -e .[develop]
|
|
script:
|
|
- test -n "$RUN_FLAKE8" || pytest
|
|
- test -z "$RUN_FLAKE8" || flake8 --ignore=D,E,W,F401 src/ tests setup.py
|
|
sudo: false
|
|
git:
|
|
depth: 250
|