sudo: required
services:
 - docker

env:
  COMPOSE_VERSION: 1.8.0

before_install:
 - curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
 - chmod +x docker-compose
 - sudo mv docker-compose /usr/local/bin
 - sudo pip install tox

# setup databases
before_script:
 - cp conf/development.env.example conf/development.env
 - docker-compose build
 - docker-compose up -d
 - sleep 20

script:
 - tox
 - docker-compose run web bash bin/test_with_coverage

after_success:
  - pip install codecov
  - pip install django_coverage_plugin==1.3.1
  - codecov

sudo: required
services:
 - docker

env:
  COMPOSE_VERSION: 1.8.0

before_install:
 - curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
 - chmod +x docker-compose
 - sudo mv docker-compose /usr/local/bin
 - sudo pip install tox

# setup databases
before_script:
 - cp conf/development.env.example conf/development.env
 - docker-compose build
 - docker-compose up -d
 - sleep 20

script:
 - tox
 - docker-compose run web bash bin/test_with_coverage
 - docker-compose run web python manage.py compress --force

after_success:
  - pip install codecov
  - pip install django_coverage_plugin==1.3.1
  - codecov

Add Compress operation to Travis-CI
Add Compress operation to Travis-CI

We want to check that `python manage.py compress` works.
