diff --git a/.travis.yml b/.travis.yml
index 81daddbc454576fe59dcee217148f28eaa805189..676f5b5a76123c7c3c0b856fde1327021b65b7a3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,7 +13,7 @@ before_install:
   - pip install --user yamllint==1.18.0
   - gem install --no-document fpm
   - go get -t -v ./...
-  - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
+  - echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
 
 script:
   - yamllint -c ./.yamllint.yaml .