Skip to content

Commit aa8a991

Browse files
committed
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 80ca636 and 40ba51a for my previous attempts.
1 parent 40ba51a commit aa8a991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,5 @@ deploy:
9595
on:
9696
tags: true
9797
repo: MongoEngine/mongoengine
98-
condition: $PYMONGO = 3.x AND $MONGODB = 3.4
98+
condition: ($PYMONGO = 3.x) && ($MONGODB = 3.4)
9999
python: 2.7

0 commit comments

Comments
 (0)