sudo: required
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.11.2
language: python
python:
- '3.6'
install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
- 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
- sudo docker --version
- sudo docker-compose --version
before_script:
- "./csu start"
script:
- "./csu dev test"
- "./csu dev test_backwards"
- "./csu dev test_coverage"
- "./csu dev style"
- "./csu dev docs"
cache:
  directories:
    - ${HOME}/google-cloud-sdk
deploy:
  provider: script
  script: sh ./infrastructure/develop-deploy/develop-deploy.sh
  skip_cleanup: true
  on:
    branch: issue/310
after_script:
- bash <(curl -s https://codecov.io/bash)
notifications:
  email: false
  slack:
    rooms: deptfunstuff:abJKvzApk5SKtcEyAgtswXAv
    on_success: change
    on_failure: change

sudo: required
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.11.2
language: python
python:
- '3.6'
install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
- 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
- sudo docker --version
- sudo docker-compose --version
before_script:
- "./csu start"
script:
- "./csu dev test"
- "./csu dev test_backwards"
- "./csu dev test_coverage"
- "./csu dev style"
- "./csu dev docs"
cache:
  directories:
    - ${HOME}/google-cloud-sdk
deploy:
  provider: script
  script: sh ./infrastructure/develop-deploy/develop-deploy.sh
  skip_cleanup: true
  on:
    branch: develop
after_script:
- bash <(curl -s https://codecov.io/bash)
notifications:
  email: false
  slack:
    rooms: deptfunstuff:abJKvzApk5SKtcEyAgtswXAv
    on_success: change
    on_failure: change

Set branch for deployment as develop (after test change)
Set branch for deployment as develop (after test change)
