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

env:
  - DOCKER_COMPOSE_VERSION=1.18.0

before_install:
  - 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:
- yarn run lint
- yarn run test

after_script:
- yarn run report-coverage

language: node_js
node_js:
- 10
sudo: required
services:
- docker
dist: focal

env:
  - DOCKER_COMPOSE_VERSION=1.18.0

before_install:
  - 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:
- yarn run lint
- yarn run test

after_script:
- yarn run report-coverage

Use newer Ubuntu on Travis
test: Use newer Ubuntu on Travis
