cookiecutter-django/.travis.yml

43 lines
832 B
YAML
Raw Normal View History

dist: xenial
2016-01-18 13:56:48 +03:00
services:
- docker
language: python
2017-12-28 19:30:33 +03:00
python: 3.6
before_install:
2016-08-11 12:51:53 +03:00
- docker-compose -v
- docker -v
matrix:
include:
- name: Test results
script: tox -e py36
- name: Run flake8 on result
script: tox -e flake8
- name: Run black on result
script: tox -e black
- name: Black template
script: tox -e black-template
- name: Basic Docker
script: sh tests/test_docker.sh
- name: Docker with Celery
script: sh tests/test_docker.sh use_celery=y
- name: Bare metal
script: sh tests/test_bare.sh use_celery=y use_compressor=y
services:
- postgresql
- redis-server
env:
- CELERY_BROKER_URL=redis://localhost:6379/0
install:
2018-06-05 12:17:47 +03:00
- pip install tox
notifications:
email:
2015-04-20 15:19:12 +03:00
on_success: change
on_failure: always