Codebase list anosql / 438485e
Don't install postgresql for flake8 and docs environments We only require postgresql for python unittests Philippe Pepiot 4 years ago
1 changed file(s) with 3 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
99 env: TOXENV=flake8
1010 - python: "3.7"
1111 env: TOXENV=docs
12 addons:
13 apt:
14 packages:
15 - postgresql-11
16 - postgresql-client-11
17 - postgresql-server-dev-11
12 before_install:
13 # don't install postgresql for flake8 and docs environments
14 - if test -z "$TOXENV"; then sudo apt-get -y install --no-install-recommends postgresql-11 postgresql-client-11 postgresql-server-dev-11; fi
1815 install: "pip install tox-travis"
1916 script: tox