Skip to content

Commit

Permalink
Try a different deployment condition
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wojcikstefan committed Jun 12, 2019
1 parent 40ba51a commit aa8a991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit aa8a991

Please sign in to comment.