version: 2
executorType: machine
stages:
    build:
        workDir: ~/soundzcape
        steps:
            - type: checkout
            - type: shell
              name: Build and run docker images
              command: |
                docker --version
                docker-compose --version
                docker-compose up --build -d
            - type: shell
              name: Run lints and tests
              command: |
                docker-compose run webpack npm run test
                docker-compose run python flake8
            - type: shell
              name: Shutdown containers
              command: |
                docker-compose down

version: 2
executorType: machine
stages:
    build:
        workDir: ~/soundzcape
        steps:
            - type: checkout
            - type: shell
              name: Build and run docker images
              command: |
                docker --version
                docker-compose --version
                docker-compose up --build -d
            - type: shell
              name: Run lints and tests
              command: |
                docker-compose run webpack npm run test
                docker-compose run python flake8
            - type: shell
              name: Shutdown containers
              command: |
                docker-compose down
notify:
    webhooks:
        - url: https://webhooks.gitter.im/e/41e37b947d82b439beec

Add Gitter webhook to CircleCI.
ci: Add Gitter webhook to CircleCI.
