From 0d5e39355a5dcb8dc1d06cd97fe213d9caf9dea7 Mon Sep 17 00:00:00 2001
From: Sergey Bronnikov <sergeyb@openvz.org>
Date: Wed, 14 Sep 2016 22:06:05 +0300
Subject: [PATCH] Check Python style using Travis CI

---
 .travis.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..2b649816
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+language: "python"
+
+python:
+   - "2.7"
+   - "3.3"
+   - "3.4"
+   - "3.5"
+   - "pypy"
+   - "pypy3"
+
+install:
+   - pip install flake8
+
+script:
+   - flake8 --ignore=W191,F401,E501 .
+
+notifications:
+  email:
+    on_success: change
+    on_failure: always