sudo: required

services:
  - docker

install:
  - docker pull ubuntu:16.04

script:
  - docker build -t meteogroup/concourse-ci .
  - docker-compose up -d
  - sleep 15
  - ./test.sh --net container:concourseci_concourse-web_1

after_success:
  - docker-compose stop

after_failure:
  - docker-compose stop
  - docker-compose ps -q | xargs -I{} docker logs {}

sudo: required

services:
  - docker

install:
  - docker pull ubuntu:16.04

script:
  - docker build -t meteogroup/concourse-ci .
  - docker-compose up -d
  - sleep 15
  - ./test.sh --net container:concourseci_concourse-web_1

after_success:
  - docker-compose stop

after_failure:
  - docker-compose stop
  - docker-compose logs

Revert "Don't use `docker-compose logs` in Travis build as it blocks the build indefinitely."
Revert "Don't use `docker-compose logs` in Travis build as it blocks the build indefinitely."

This reverts commit f0bc833c2e6c5db30f8048aa14add74e4d48ab14.
It did not work out, now there are no logs at all.
