Skip to content

Commit

Permalink
[15.0] Tweak docker version
Browse files Browse the repository at this point in the history
Need docker-ce 20 instead of docker-ce 18 for building Odoo 15 on debian:bullseye
  • Loading branch information
florentx authored and yvaucher committed Oct 20, 2021
1 parent bc61d32 commit cf3c2a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,14 @@ script:
- make VERSION=$VERSION build
- make VERSION=$VERSION test

# Need docker-ce 20 instead of docker-ce 18 for building Odoo 15 on debian:bullseye
# https://docs.travis-ci.com/user/docker/#installing-a-newer-docker-version
before_install:
- if [ "$VERSION" = "15.0" ] ; then curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - ; fi
- if [ "$VERSION" = "15.0" ] ; then sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" ; fi
- if [ "$VERSION" = "15.0" ] ; then sudo apt-get update ; fi
- if [ "$VERSION" = "15.0" ] ; then sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce ; fi
- docker --version

after_success:
- travis/publish.sh
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Unreleased
**Build**

* Add new version for Odoo 15.0
* [15.0] Need docker-ce 20 instead of docker-ce 18 for building Odoo 15 on debian:bullseye

**Documentation**

Expand Down

0 comments on commit cf3c2a1

Please sign in to comment.