language: ruby
rvm:
 - 2.4
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

language: ruby
rvm:
 - 2.6
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 ruby version for Travis
Update ruby version for Travis
