sudo: required

language: ruby

rvm:
  - 2.4.2

services:
  - docker

script:
  - bundle exec rake rubocop
  - bundle exec rake

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
      docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
      docker push suhlig/concourse-rss-resource;
    fi

sudo: required

language: ruby

rvm:
  - 2.5.0

services:
  - docker

script:
  - bundle exec rake rubocop
  - bundle exec rake

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
      docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
      docker push suhlig/concourse-rss-resource;
    fi

Update Travis to use Ruby 2.5
Update Travis to use Ruby 2.5
