language: minimal

services:
  - docker

script:
  - make docker-build

deploy:
  - provider: script
    script: make docker-push
  - provider: heroku
    app: ifconfig-co
    api_key:
      secure: IQG/ls5Zu0yua5Ynn5EL9JCPjo1/WcmS0z7BSaXWdgW+JIWFm7oF5z54bUZHl/q1tTuWzAJk59zSTYJijtQqh2Ssl3fLu3uFDwyJSrOuUu1akPlETam8NpdbH4lPkFp75JSDdDXV08c0APmeLL6gqRuTrUuufu69Wigjq4gLo+o=

language: minimal

services:
  - docker

addons:
  apt:
    packages:
      - docker-ce

script:
  - make docker-build

deploy:
  - provider: script
    script: make docker-push
  - provider: heroku
    app: ifconfig-co
    api_key:
      secure: IQG/ls5Zu0yua5Ynn5EL9JCPjo1/WcmS0z7BSaXWdgW+JIWFm7oF5z54bUZHl/q1tTuWzAJk59zSTYJijtQqh2Ssl3fLu3uFDwyJSrOuUu1akPlETam8NpdbH4lPkFp75JSDdDXV08c0APmeLL6gqRuTrUuufu69Wigjq4gLo+o=

Make sure Travis is using latest docker version
Make sure Travis is using latest docker version

https://docs.travis-ci.com/user/docker/#installing-a-newer-docker-version
