cabot/.travis.yml

25 lines
569 B
YAML
Raw Normal View History

sudo: required
services:
- docker
before_install:
- sudo pip install tox
# setup databases
before_script:
- cp conf/development.env.example conf/development.env
- docker-compose build
script:
- tox
- docker-compose -f docker-compose-test.yml run --rm test bash bin/test_with_coverage -v2
2017-03-08 11:03:38 +00:00
- git checkout $(git describe --abbrev=0 --tags `git describe --abbrev=0 --tags`^)
- docker-compose run --rm web true
2017-03-08 11:03:38 +00:00
- git checkout -
- docker-compose run --rm web true
after_success:
- pip install codecov
- pip install django_coverage_plugin==1.4.2
- codecov