language: bash
sudo: required
dist: trusty
group: deprecated-2017Q4
services:
  - docker

env:
  matrix:
    - MY_RUBY_VERSION=2.4.2 RUBY_RAILS_VERSION=5.1.4

# Installing a newer Docker version
before_install:
  - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  - sudo apt-get update
  - sudo apt-get -y install docker-ce
  - docker version

script: ./travis-build.sh

notifications:
  email: false

cache:
  directories:
    - ~/.dockery/data/bundle/2.4.2

language: bash
sudo: required
dist: trusty
services:
  - docker

env:
  matrix:
    - MY_RUBY_VERSION=2.4.2 RUBY_RAILS_VERSION=5.1.4

# Installing a newer Docker version
before_install:
  - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  - sudo apt-get update
  - sudo apt-get -y install docker-ce
  - docker version

script: ./travis-build.sh

notifications:
  email: false

cache:
  directories:
    - ~/.dockery/data/bundle/2.4.2

Move to Latest Travis Image
Move to Latest Travis Image
