From aa8a991d201bf1296d935f15f92b3d93534cdca7 Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Wed, 12 Jun 2019 12:19:36 +0200 Subject: [PATCH] Try a different deployment condition This time my attempt is based on the output found in another job that didn't trigger a deployment: https://travis-ci.org/MongoEngine/mongoengine/jobs/544664203 ``` /home/travis/.travis/job_stages: line 660: expected `)' /home/travis/.travis/job_stages: line 660: syntax error near `AND' /home/travis/.travis/job_stages: line 660: ` if [[ ($TRAVIS_REPO_SLUG = "MongoEngine/mongoengine") && ($TRAVIS_PYTHON_VERSION = 2.7) && ($PYMONGO = 3.x AND $MONGODB = 3.4) && ("$TRAVIS_TAG" != "") ]]; then' ``` See 80ca6360c1f3ea073e3fcb65070ded0558514ffa and 40ba51ac43591cbc8547f8d2db6c7ac6d1d97cee for my previous attempts. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3afc9965..b1fcba07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,5 +95,5 @@ deploy: on: tags: true repo: MongoEngine/mongoengine - condition: $PYMONGO = 3.x AND $MONGODB = 3.4 + condition: ($PYMONGO = 3.x) && ($MONGODB = 3.4) python: 2.7