Create docker layer container for Docker Bench
[validation.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist =
4    signedCommit,
5    coala,
6 skipsdist = true
7 passenv = TOX_WORK_DIR
8 toxworkdir = {env:TOX_WORK_DIR:/tmp/v}
9
10 [testenv:signedCommit]
11 whitelist_externals = bash
12 commands =
13    bash utils/signed.sh
14
15 [testenv:coala]
16 basepython = python3
17 whitelist_externals =
18    wget
19    unzip
20    bash
21    rm
22
23 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
24 install_command = python -m pip install --no-cache-dir {opts} {packages}
25 deps =
26    coala
27    coala-bears
28    pygments~=2.3.1
29    requests~=2.21.0
30    nodeenv
31 commands =
32    rm -rf docker/kube-conformance/kube-conformance docker/sonobuoy-plugin-systemd-logs/sonobuoy-plugin-systemd-logs
33    nodeenv -p
34    npm install --global write-good eslint complexity-report@2.0.0-alpha
35    wget --timeout=120 -q https://github.com/pmd/pmd/releases/download/pmd_releases/6.15.0/pmd-bin-6.15.0.zip
36    unzip -q pmd-bin-6.15.0.zip
37    bash -c "export PATH=$PATH:$PWD/pmd-bin-6.15.0/bin/ && coala --non-interactive"