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"
|
|
|
|
- "sudo apt-get install python3-dev python3-pip"
|
|
|
|
- "sudo -H pip3 install pip --upgrade"
|
|
|
|
- "sudo -H 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"
|