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