Skip to content

Commit

Permalink
Do not deploy 6 times
Browse files Browse the repository at this point in the history
  • Loading branch information
Jairo Llopis authored and yajo committed Jan 15, 2020
1 parent f804bb7 commit ca16c90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ env:
- IMAGE_NAME=tecnativa/doodba-qa:latest
# Postgres version to test
- DB_VERSION=12
# This will avoid deploying a lot of times the same doodba-qa image
- DEPLOY_VERSION=13.0
matrix:
- ODOO_MINOR=8.0 DB_VERSION=9.6
- ODOO_MINOR=9.0 DB_VERSION=10
Expand All @@ -47,3 +49,5 @@ deploy:
script: ./hooks/push
on:
branch: master
condition:
- $ODOO_MINOR = $DEPLOY_VERSION

0 comments on commit ca16c90

Please sign in to comment.