2018-06-01 15:17:06 +02:00
|
|
|
language: python
|
2019-03-01 23:34:32 +01:00
|
|
|
dist: xenial
|
2018-06-01 15:21:20 +02:00
|
|
|
python:
|
|
|
|
- "3.6"
|
|
|
|
- "3.6-dev" # 3.6 development branch
|
2019-03-01 23:32:03 +01:00
|
|
|
- "3.7"
|
2018-06-01 15:21:20 +02:00
|
|
|
- "3.7-dev" # 3.7 development branch
|
2019-11-21 15:46:06 +01:00
|
|
|
- "3.8"
|
|
|
|
- "3.8-dev" # 3.8 development branch
|
|
|
|
|
2018-06-01 15:21:20 +02:00
|
|
|
# command to install dependencies
|
|
|
|
install:
|
2020-04-11 14:29:54 +02:00
|
|
|
- python -m pip install -U pip wheel setuptools
|
|
|
|
- python -m pip install -U isort flake8
|
|
|
|
- python -m pip install -r requirements.txt
|
2020-04-12 20:04:32 +02:00
|
|
|
- python -Wd setup.py sdist
|
|
|
|
- python -Wd -m pip install dist/py3-validate-email-*.tar.gz
|
2019-11-21 15:46:06 +01:00
|
|
|
|
2018-06-01 15:21:20 +02:00
|
|
|
# command to run tests
|
|
|
|
script:
|
2020-04-11 14:29:54 +02:00
|
|
|
- python -m isort -c --skip-glob=venv
|
|
|
|
- python -m flake8 tests/ validate_email/ setup.py
|
2019-03-01 23:01:21 +01:00
|
|
|
- python -m unittest discover -v
|