sudo: required

services:
  - docker

env:
  DOCKER_COMPOSE_VERSION: 1.11.0

before_install:
  - sudo rm -f /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
  - docker-compose pull
  - docker-compose start

language: php

php:
  - 7.1
  - 7.0

install:
  - composer selfupdate
  - composer update

script:
  - vendor/bin/atoum
  - vendor/bin/behat

sudo: required

services:
  - docker

env:
  DOCKER_COMPOSE_VERSION: 1.11.0

before_install:
  - sudo rm -f /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
  - docker-compose pull
  - docker-compose up

language: php

php:
  - 7.1
  - 7.0

install:
  - composer selfupdate
  - composer update

script:
  - vendor/bin/atoum
  - vendor/bin/behat

Use up instead of start in docker-compose
Use up instead of start in docker-compose
