2017-10-18 08:39:57 +02:00
|
|
|
sudo: false
|
2016-12-10 19:27:50 +01:00
|
|
|
language: python
|
|
|
|
python:
|
2016-12-10 19:55:40 +01:00
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
2017-02-25 07:27:06 +01:00
|
|
|
- "3.6"
|
2020-01-26 14:11:58 +01:00
|
|
|
- "3.7"
|
2020-11-29 22:14:33 +01:00
|
|
|
- "3.8"
|
|
|
|
- "3.9"
|
2018-01-31 17:24:49 +01:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qq update
|
2016-12-10 19:32:22 +01:00
|
|
|
install:
|
2020-07-21 08:17:25 +02:00
|
|
|
- sudo apt-get install python-dbus
|
2020-09-02 01:12:31 +02:00
|
|
|
- pip install -U coverage==4.3 pytest pytest-mock freezegun
|
2016-12-11 13:24:37 +01:00
|
|
|
- pip install codeclimate-test-reporter
|
2020-07-21 08:08:22 +02:00
|
|
|
- pip install i3-py Pillow Babel DateTime python-dateutil
|
2020-09-29 00:38:18 +02:00
|
|
|
- pip install docker feedparser==6.0.0b1 i3ipc
|
2020-07-21 08:25:18 +02:00
|
|
|
- pip install netifaces power
|
2020-07-21 08:43:08 +02:00
|
|
|
- pip install psutil pytz
|
2020-07-21 08:08:22 +02:00
|
|
|
- pip install requests simplejson
|
2020-07-21 08:55:54 +02:00
|
|
|
- pip install suntime
|
2020-07-21 09:00:59 +02:00
|
|
|
- pip install tzlocal
|
2016-12-11 13:24:37 +01:00
|
|
|
script:
|
2020-06-20 14:53:44 +02:00
|
|
|
- coverage run --source=. -m pytest tests -v
|
2020-05-20 17:35:14 +02:00
|
|
|
- CODECLIMATE_REPO_TOKEN=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf codeclimate-test-reporter
|
|
|
|
addons:
|
|
|
|
code_climate:
|
|
|
|
repo_token: 40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf
|