2017-06-05 15:48:35 +02:00
|
|
|
sudo: enabled
|
|
|
|
dist: xenial
|
2017-06-05 13:38:36 +02:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "3.5"
|
2017-06-05 15:44:40 +02:00
|
|
|
# versions 3.6.0 and 3.6.1 have bugs that affect magneticod
|
2017-06-05 13:38:36 +02:00
|
|
|
|
2017-06-05 15:44:40 +02:00
|
|
|
before_install:
|
|
|
|
- "sudo apt-get update -qq"
|
2017-06-05 15:53:59 +02:00
|
|
|
- "sudo apt-get install python3-dev"
|
2017-06-05 15:56:19 +02:00
|
|
|
- "pip3 install mypy pylint"
|
2017-06-05 13:38:36 +02:00
|
|
|
|
|
|
|
install:
|
2017-06-05 15:38:06 +02:00
|
|
|
- "pip3 install ./magneticod"
|
|
|
|
- "pip3 install ./magneticow"
|
2017-06-05 13:38:36 +02:00
|
|
|
|
|
|
|
script:
|
|
|
|
- "pylint ./magneticod/magneticod"
|
|
|
|
- "pylint ./magneticow/magneticow"
|
|
|
|
- "mypy ./magneticod/magneticod"
|
|
|
|
- "mypy ./magneticow/magneticow"
|