sudo: required

language: node_js
node_js:
  - node

services:
  - docker

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:
  - docker-compose -f docker-compose-tests.yml build travis-tests
  - docker-compose -f docker-compose-tests.yml run travis-tests

after_success:
  - bash ./scripts/ci-deployment/deploy.sh

after_script:
  - docker-compose -f docker-compose-tests.yml down -v

language: node_js
node_js:
  - node

services:
  - docker

before_install:
  - pip install docker-compose

script:
  - docker-compose -f docker-compose-tests.yml build travis-tests
  - docker-compose -f docker-compose-tests.yml run travis-tests

after_success:
  - bash ./scripts/ci-deployment/deploy.sh

after_script:
  - docker-compose -f docker-compose-tests.yml down -v

Use pip to install docker-compose
Use pip to install docker-compose
