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.
This commit is contained in:
Stefan Wojcik 2019-06-12 12:19:36 +02:00
parent 40ba51ac43
commit aa8a991d20

View File

@ -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