From 0149ef9340cb2d5a3d927ef4ad7c28cc2b40b5e3 Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Fri, 8 Dec 2017 21:16:15 +0100
Subject: [PATCH] test

---
 .travis.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index f2fe843..f85a871 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,9 +14,11 @@ script:
 after_success:
  - codeclimate-test-reporter
  - |
-    if [ "$TRAVIS_BRANCH" -eq "master" ]; then
-      pip install wheel twine
-      python setup.py bdist bdist_wheel
-      twine upload -u $PYPI_USER -p $PYPI_PWD dist/*
+    if [ "$TRAVIS_BRANCH" == "master" ]; then
+      if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then
+        pip install wheel twine
+        python setup.py bdist bdist_wheel
+        twine upload -u $PYPI_USER -p $PYPI_PWD dist/*
+      fi
     fi
 
-- 
GitLab