From 0b035d3fdc9bc00a521d4f4f6f4c51218ddfca4f Mon Sep 17 00:00:00 2001
From: Isuru Fernando <isuruf@gmail.com>
Date: Thu, 14 Feb 2019 17:12:34 -0600
Subject: [PATCH] Check every commit

---
 .travis.yml            | 1 -
 travis/build-wheels.sh | 4 ++++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index d838cc4f..67f9de5e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,5 @@
 notifications:
   email: false
-if: tag IS present
 matrix:
   include:
   - sudo: required
diff --git a/travis/build-wheels.sh b/travis/build-wheels.sh
index 3ed51b3a..49119bba 100755
--- a/travis/build-wheels.sh
+++ b/travis/build-wheels.sh
@@ -53,6 +53,10 @@ done
 /opt/python/cp37-cp37m/bin/pip install delocate
 /opt/python/cp37-cp37m/bin/python /io/travis/fix-wheel.py /deps/ocl-icd/COPYING
 
+if [[ "${TWINE_USERNAME}" == "" ]]; then
+    exit 0
+fi
+
 /opt/python/cp37-cp37m/bin/pip install twine
 for WHEEL in /io/wheelhouse/pyopencl*.whl; do
     # dev
-- 
GitLab