2017-07-25 18:04:15 +02:00
|
|
|
language: python
|
|
|
|
|
|
|
|
cache: pip
|
|
|
|
|
|
|
|
python:
|
|
|
|
- "3.6"
|
|
|
|
- "3.6-dev"
|
2020-02-17 21:38:12 +01:00
|
|
|
- "3.7"
|
2019-05-06 17:18:29 +02:00
|
|
|
- "3.7-dev"
|
2020-02-17 21:38:12 +01:00
|
|
|
- "3.8"
|
|
|
|
- "3.8-dev"
|
2017-07-25 18:04:15 +02:00
|
|
|
|
|
|
|
install:
|
2020-02-17 21:38:12 +01:00
|
|
|
- pip install poetry
|
2020-02-17 21:59:31 +01:00
|
|
|
# Blocker: https://github.com/python-poetry/poetry/issues/1009
|
2020-02-17 22:06:56 +01:00
|
|
|
- pip install mypy
|
2020-02-17 21:59:31 +01:00
|
|
|
- poetry build
|
|
|
|
- pip install dist/*.whl
|
2017-07-25 18:04:15 +02:00
|
|
|
|
|
|
|
script:
|
2020-02-17 21:38:12 +01:00
|
|
|
- poetry run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
|
2020-02-17 22:01:36 +01:00
|
|
|
- poetry run mypy .
|
2017-07-25 18:04:15 +02:00
|
|
|
|
|
|
|
after_success:
|
2020-02-17 21:38:12 +01:00
|
|
|
- poetry run codecov
|
|
|
|
- poetry run coveralls
|