12 Commits

Author SHA1 Message Date
Frank Hamand
9aba84cc77 Use travis's default docker-compose version
I don't see why we need to specifically use 1.8
2017-02-16 15:48:40 +00:00
Frank Hamand
1f8cd60a40 Update django_coverage_plugin
It was complaining about TEMPLATE_DEBUG not being set, even though
TEMPLATE_DEBUG now defaults to DEBUG. Newer versions of coverage plugin
work properly
2017-02-16 15:07:48 +00:00
Frank Hamand
06716e9837 Update travis.yml to use docker-compose-test.yml 2017-02-13 14:48:07 +00:00
Frank Hamand
ec5f6825e2 Add default.env and test.env and multiple docker-compose files to override settings 2017-02-13 14:48:07 +00:00
Frank Hamand
3a5e524b04 Automatically initialise database and assets on docker start
Currently the first time you run the server you need to manually
syncdb, create superuser and collect assets. Do this automatically
on container launch
2017-02-09 17:58:06 +00:00
Frank Hamand
daad98130b Fix race condition with docker containers
The web container could start running before the database/celery broker
was launched. Add wait checks in docker-entrypoint
2017-02-09 15:48:30 +00:00
Jean-Fred Berthelot
39081845cd Add Compress operation to Travis-CI
We want to check that `python manage.py compress` works.
2017-02-07 10:31:38 +00:00
Jean-Fred Berthelot
a68c2f6b5d Add test coverage support
- Split out requirements in two files
  (testing and main)

- Add Bash script running test with coverage

- Add .coveragerc configuration file,
  including Django coverage plugin

- Add post-build to Travis script running CodeCov
2016-12-22 11:09:43 +00:00
Jean-Fred Berthelot
f337b79643 Add Flake8 linting using tox
- Add tox file for linting of:
  - bash config files
  - flake8

- Mute all flake8 violations currently not passing
- Install and run tox as part of Travis build
  (inside one run because build matrix is hard)
2016-12-08 12:31:28 +00:00
David Buxton
27f65a2eba Docker-compose setup
- Externalise requirements to pip format
- Add entry-point script
- Update Travis-CI configuration
- Fix test data
2016-09-20 10:33:22 +01:00
Jonathan Balls
43ae71a986 Added support for alert plugins 2015-02-09 12:34:36 +00:00
Jonathan Balls
290b6d1bd7 Created a .travis.yml file which will allow Cabot to be built and tested on travis-ci 2014-11-28 22:53:23 +00:00