Commit Graph

14 Commits

Author SHA1 Message Date
Bruno Alla
68f7268770
Run Black on Travis (#1957)
* Create a test matrix on Travis CI to help testing multiple options

* Change test_docker.sh to fail if any command in it fails

* Run black on the CI with --check option

* Fix formatting of project files using black

* Install black in the docker container

* Exclude migrations in black checks

* Fix Black formatting violations

* Run black on the whole generated project & fix issues
2019-03-18 17:49:43 +00:00
Bruno Alla
b5d782e252
Merge branch 'master' into mypy 2018-08-29 08:21:22 +01:00
Denis Orehovsky
80e0862ff0 Fix running tests in test_docker.sh file 2018-08-19 14:22:33 +03:00
Denis Orehovsky
c18a2fca8c Run type checks in test_docker 2018-08-19 14:08:29 +03:00
John Cass
bb01d961ed Use pytest's recommended command as the entry point for running tests. 2018-07-23 08:51:06 +02:00
Nikita P. Shupeyko
de56ad9099 Remove redundant js_task_runner declaration from test_docker.sh 2018-05-21 21:37:42 +03:00
Nikita P. Shupeyko
20a43c2bc5 Simplify test_docker.sh 2018-03-05 14:26:12 +03:00
Nikita P. Shupeyko
fe6fe1cc76 Fix test_docker.sh 2018-03-04 15:18:27 +03:00
Bruno Alla
0164c330b3 Move to the python:alpine docker image (#1482)
* Move to the python:alpine docker image

- Switch the base images for local and production to alpine
- Install extra dependencies for psycopg2, Pillow and cffi
- Change shebang for shell scripts to use sh instead of bash

* Move to the python:alpine docker image

- Migrate group and user creation to Alpine syntax

* Move to the python:alpine docker image

- Remove `function` keyword, unsupported in shell

* Upgrade various places to the latest Python 3.6

* Test support for translations

* Add gettext library, required for translations support

* Add locale folder for translations support with README documenting it

* Update Changelog

* Tweak command to test translations support
2018-02-22 10:01:05 -05:00
Shupeyko Nikita
e889316b11 Rename dev.yml to local.yml (#1227)
* Rename dev.yml to local.yml

Closes #1226.

* Rename docker-compose.yml to production.yml
2017-07-14 17:09:41 +03:00
Fabio C. Barrioneuvo da Luz
d0cd31e019 fix docker build on travis-ci 2017-02-15 17:27:12 -03:00
Fábio C. Barrionuevo da Luz
ab4686f519 check pending migration (#840) 2016-10-08 17:43:12 -07:00
Steve Steiner
d556f3cc5f Make test_docker.sh tests pass by passing new password auth rules 2016-09-29 01:01:01 -03:00
Jay
82a30ea88c adds simple docker test 2016-01-18 12:26:25 +01:00