diff --git a/.travis.yml b/.travis.yml index e780ac16f4..ff17695a2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ addons: before_install: - sudo apt-get update - sudo apt-get install gettext + - sudo apt-get install mysql-server libmysqlclient-dev + - sudo apt-get install postgresql postgresql-contrib libpq-dev - pip3 install invoke - pip3 install mysqlclient - pip3 install psycopg2 diff --git a/setup.cfg b/setup.cfg index 7d5da0d660..ca36d114b6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,5 +7,5 @@ ignore = E501, E722, # - C901 - function is too complex C901, -exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/* +exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py* max-complexity = 20