language: node_js
node_js:
  - 8
sudo: required
services:
  - docker

env:
  DOCKER_COMPOSE_VERSION: 1.11.2

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
  - sudo rm /usr/local/bin/docker-compose
  - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin

script:
  - npm run lint
  - npm test

language: node_js
node_js:
  - 8
sudo: required
services:
  - docker

script:
  - npm run lint
  - npm test

Remove manual Docker install steps from Travis
Remove manual Docker install steps from Travis

It seems like Travis is running a relatively up-to-date version
nowadays.
