diff --git a/.travis.yml b/.travis.yml index 9c3bbf533..c2c5c1e9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,4 +32,4 @@ deploy: tags: true all_branches: true repo: scrapy/scrapy - condition: $TOXENV = py27 + condition: "$TOXENV == py27 && $TRAVIS_TAG =~ ^[0-9]\.[0-9]*[02468]\."