language: ruby
rvm:
 - 2.2
sudo: required
services:
  - docker
script:
  - bundle exec rake test
after_success:
  - docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
  - bundle exec rake push

language: ruby
rvm:
 - 2.2
sudo: required
services:
  - docker
script:
  - bundle exec rake test
after_success:
  - echo $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin
  - bundle exec rake push

Update Docker build command for Travis
Update Docker build command for Travis
