travis does not want to push docker image to docker hub after successfully test passing? what is wrong? or what am I doin wrong? I have already set env variabales DOCKER_PASSWORD and DOCKER_USERNAME
…
language: python
sudo: required
services:
- docker
script:
- docker-compose run web python manage.py test
after_success:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t solarultima/todo .
- docker push solarultima/todo .