{"id":193394,"date":"2013-09-11T21:43:06","date_gmt":"2013-09-11T17:43:06","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=193394"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=193394","title":{"rendered":"<span class=\"post_title\">\u041e\u0442\u0447\u0451\u0442\u044b \u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0434\u043b\u044f travis-ci \u0438 drone.io<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<a href=\"http:\/\/habrastorage.org\/storage3\/ddf\/08a\/2d1\/ddf08a2d158ef56218a0d9ed2d48dd54.png\"><img decoding=\"async\" align=\"left\" src=\"http:\/\/habrastorage.org\/storage3\/e45\/64f\/46b\/e4564f46bd3fd587d6bf53ab1fb3b892.png\"\/><\/a><br \/>  \u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0443\u0436\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0434\u0430\u0432\u043d\u043e \u043f\u0440\u0438\u0432\u044b\u043a \u043a \u043f\u043b\u044e\u0448\u043a\u0430\u043c ci: \u043f\u0440\u043e\u0433\u043e\u043d\u0443 \u0442\u0435\u0441\u0442\u043e\u0432, \u043e\u0442\u0447\u0451\u0442\u0430\u043c \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u0434\u0435\u043f\u043b\u043e\u044e. \u041f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442. 1 \u0438 3 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u0435\u0442 travis-ci(\u043d\u0443 \u0438\u043b\u0438 drone.io), \u043d\u043e \u0432\u043e\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439.<\/p>\n<p>  \u0418 \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435:  <\/p>\n<ul>\n<li>\u043f\u0440\u043e\u0433\u043e\u043d\u044f\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 ci;<\/li>\n<li>\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0445 \u0441\u0435\u0431\u0435;<\/li>\n<li>\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c.<\/li>\n<\/ul>\n<p>  \u0418 \u044d\u0442\u043e \u0432\u0441\u0451 \u0432\u044b\u043b\u0438\u043b\u043e\u0441\u044c \u0432 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 <a href=\"http:\/\/coviolations.io\/\">coviolations.io<\/a>(\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 <a href=\"https:\/\/github.com\/nvbn\/coviolations_web\">\u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/a> \u0438 <a href=\"https:\/\/github.com\/nvbn\/coviolations_app\">\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/a>), \u0441\u0435\u0439\u0447\u0430\u0441 \u043e\u043d\u043e  <\/p>\n<ul>\n<li>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c\u0438 \u043d\u0430 github;<\/li>\n<li>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 travis-ci, drone.io \u0438 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0441 jenkins;<\/li>\n<li>\u0443\u043c\u0435\u0435\u0442 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 pep8, sloccount, python unittest, pip-review \u0438 testem;<\/li>\n<li>\u0443\u043c\u0435\u0435\u0442 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441-\u043f\u043b\u0430\u0448\u043a\u0443 <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/78f\/968\/d93\/78f968d93260426532394db9edbaa384.png\"\/>;<\/li>\n<li>\u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c\u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0439.<\/li>\n<\/ul>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041a\u0430\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443?<\/h4>\n<p>  \u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b <code>.covio.yml<\/code>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:  <\/p>\n<pre><code>violations:   pep8: pep8 . --exclude='*migrations*'   sloccount: sloccount .   pip_review: pip-review   py_unittest: cat python_tests.txt   testem: cat testem.out <\/code><\/pre>\n<p>  \u0413\u0434\u0435 \u0441\u043b\u0435\u0432\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430, \u0430 \u0441\u043f\u0440\u0430\u0432\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0435\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430.<\/p>\n<p>  \u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u0432 <a href=\"http:\/\/coviolations.io\/projects\/manage\/\">\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438<\/a> \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u044b\u0437\u043e\u0432 <code>covio<\/code>.<br \/>  \u0414\u043b\u044f <code>.travis.yml<\/code> \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442:  <\/p>\n<pre><code>after_script:   - pip install coviolations_app   - covio <\/code><\/pre>\n<p>  \u0410 \u0434\u043b\u044f droner.io \u0438 jenkins:  <\/p>\n<pre><code class=\"bash\">pip install coviolations_app COVIO_TOKEN=&quot;token&quot; covio <\/code><\/pre>\n<p>  <code>token<\/code> \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<h2>\u041d\u0435\u0442 \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430?<\/h2>\n<p>  \u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0441\u0435\u0440\u0430, \u0435\u0433\u043e \u043b\u0435\u0433\u043a\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u0421\u0430\u043c \u043f\u0430\u0440\u0441\u0435\u0440 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043d\u0430 python:  <\/p>\n<pre><code class=\"python\">from tasks.const import STATUS_SUCCESS, STATUS_FAILED from .base import library   @library.register('\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0430\u0442\u043e\u0440\u0430') def parse_violation(data):     # data['raw'] - \u043d\u0435\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430     data['preview'] = data['raw'][:10] # \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442     data['prepared'] = data['raw'] + '!' # \u043f\u043e\u043b\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442     data['status'] = STATUS_SUCCESS # \u0438\u043b\u0438 STATUS_FAILED, \u0435\u0441\u043b\u0438 \u0432\u0441\u0451 \u043f\u043b\u043e\u0445\u043e     data['plot'] = { # \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0438         'lines_count': len(data['raw'].split('\\n')),         'random_value': 5,     }     return data <\/code><\/pre>\n<p>  \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043f\u0430\u0440\u0441\u0435\u0440\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 <a href=\"https:\/\/github.com\/nvbn\/coviolations_web\/tree\/develop\/violations\">violations<\/a>.<\/p>\n<h2>\u0427\u0442\u043e \u0432\u043d\u0443\u0442\u0440\u0438?<\/h2>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/16e\/0d6\/ec9\/16e0d6ec9d7c5c23b1328d4e752f1ec1.png\"\/><\/p>\n<p>  \u0421\u0435\u0440\u0432\u0435\u0440\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 <a href=\"https:\/\/www.djangoproject.com\/\">django<\/a>, api \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u0447\u0435\u0440\u0435\u0437 <a href=\"http:\/\/tastypieapi.org\/\">tastypie<\/a>. \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u043f\u0430\u0447\u043a\u0435 \u0432\u043e\u0440\u043a\u0435\u0440\u043e\u0432, \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u0445 \u0441 <a href=\"http:\/\/python-rq.org\/\">rq<\/a>. \u0412\u0441\u0451 \u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 <a href=\"http:\/\/redis.io\/\">redis<\/a>. \u0414\u0430\u043d\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 <a href=\"http:\/\/www.mongodb.org\/\">mongodb<\/a> \u0438 <a href=\"http:\/\/www.postgresql.org\/\">postgresql<\/a>. \u0411\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 <a href=\"http:\/\/coffeescript.org\/\">coffeescript<\/a> \u0441 <a href=\"http:\/\/backbonejs.org\/\">backbone.js<\/a>. \u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0440\u0438\u0441\u0443\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <a href=\"http:\/\/www.chartjs.org\/\">chart.js<\/a>. \u041a\u043b\u0438\u0435\u043d\u0442 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043e\u0431\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u043e rest api \u0438 <a href=\"https:\/\/github.com\/sockjs\">sockjs<\/a>.<\/p>\n<h2>\u041a\u0430\u043a \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e?<\/h2>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c fabric \u0438 bower:  <\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/nvbn\/coviolations_web.git pip install fabric npm install bower <\/code><\/pre>\n<p>  \u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0438\u0437 <code>coviolations_web\/settings\/dist.py<\/code> \u0432 <code>coviolations_web\/settings\/local.py<\/code> \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0435\u0433\u043e. \u0412 <a href=\"https:\/\/github.com\/nvbn\/coviolations_web\/blob\/develop\/coviolations_web\/settings\/local_nvbn.py\">local_nvbn.py<\/a> \u043b\u0435\u0436\u0430\u0442 \u043c\u043e\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0432 <a href=\"https:\/\/github.com\/nvbn\/coviolations_web\/blob\/develop\/coviolations_web\/settings\/local_production.py\">local_production.py<\/a> \u2014 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430.<\/p>\n<p>  \u0418 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u0441\u0451 \u0441:  <\/p>\n<pre><code>fab install <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u044b \u0441:  <\/p>\n<pre><code>.\/manage.py test violations projects tasks services app push <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c(\u043a\u0430\u0436\u0434\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0435):  <\/p>\n<pre><code>.\/manage.py runserver .\/manage.py runpush .\/manage.py rqworker <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 <code>covio<\/code> \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u044b\u0439 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0442 \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 <code>.covio.yml<\/code>:  <\/p>\n<pre><code>endpoint: http:\/\/localhost:8000\/api\/v1\/tasks\/ <\/code><\/pre>\n<p>  <\/p>\n<h2>\u041f\u043b\u0430\u043d\u044b<\/h2>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0439, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 pull \u0440\u0435\u043a\u0432\u0435\u0441\u0442\u043e\u0432 \u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0438\u0445 \u0438 \u043c\u043d\u043e\u0433\u043e-\u043c\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432. \u0415\u0449\u0451 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0438\u0437 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438 \u043a \u043a\u043e\u0434\u0443, \u043d\u043e \u044d\u0442\u043e, \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043d\u0435\u0440\u0435\u0430\u043b\u044c\u043d\u043e =)<\/p>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <\/p>\n<ul>\n<li><a href=\"http:\/\/coviolations.io\">\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435;<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/nvbn\/coviolations_web\">github \u0441\u0435\u0440\u0432\u0435\u0440\u0430;<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/nvbn\/coviolations_app\">github \u043a\u043b\u0438\u0435\u043d\u0442\u0430;<\/a><\/li>\n<li><a href=\"https:\/\/coviolationsio.readthedocs.org\/en\/latest\/\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f.<\/a><\/li>\n<\/ul>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/193394\/\"> http:\/\/habrahabr.ru\/post\/193394\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<a href=\"http:\/\/habrastorage.org\/storage3\/ddf\/08a\/2d1\/ddf08a2d158ef56218a0d9ed2d48dd54.png\"><img decoding=\"async\" align=\"left\" src=\"http:\/\/habrastorage.org\/storage3\/e45\/64f\/46b\/e4564f46bd3fd587d6bf53ab1fb3b892.png\"\/><\/a><br \/>  \u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0443\u0436\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0434\u0430\u0432\u043d\u043e \u043f\u0440\u0438\u0432\u044b\u043a \u043a \u043f\u043b\u044e\u0448\u043a\u0430\u043c ci: \u043f\u0440\u043e\u0433\u043e\u043d\u0443 \u0442\u0435\u0441\u0442\u043e\u0432, \u043e\u0442\u0447\u0451\u0442\u0430\u043c \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u0434\u0435\u043f\u043b\u043e\u044e. \u041f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442. 1 \u0438 3 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u0435\u0442 travis-ci(\u043d\u0443 \u0438\u043b\u0438 drone.io), \u043d\u043e \u0432\u043e\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439.<\/p>\n<p>  \u0418 \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435:  <\/p>\n<ul>\n<li>\u043f\u0440\u043e\u0433\u043e\u043d\u044f\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 ci;<\/li>\n<li>\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0445 \u0441\u0435\u0431\u0435;<\/li>\n<li>\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c.<\/li>\n<\/ul>\n<p>  \u0418 \u044d\u0442\u043e \u0432\u0441\u0451 \u0432\u044b\u043b\u0438\u043b\u043e\u0441\u044c \u0432 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 <a href=\"http:\/\/coviolations.io\/\">coviolations.io<\/a>(\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 <a href=\"https:\/\/github.com\/nvbn\/coviolations_web\">\u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/a> \u0438 <a href=\"https:\/\/github.com\/nvbn\/coviolations_app\">\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/a>), \u0441\u0435\u0439\u0447\u0430\u0441 \u043e\u043d\u043e  <\/p>\n<ul>\n<li>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c\u0438 \u043d\u0430 github;<\/li>\n<li>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 travis-ci, drone.io \u0438 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0441 jenkins;<\/li>\n<li>\u0443\u043c\u0435\u0435\u0442 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 pep8, sloccount, python unittest, pip-review \u0438 testem;<\/li>\n<li>\u0443\u043c\u0435\u0435\u0442 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441-\u043f\u043b\u0430\u0448\u043a\u0443 <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/78f\/968\/d93\/78f968d93260426532394db9edbaa384.png\"\/>;<\/li>\n<li>\u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c\u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0439.<\/li>\n<\/ul>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-193394","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/193394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=193394"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/193394\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=193394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=193394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=193394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}