]>
Commit | Line | Data |
---|---|---|
cd096915 CH |
1 | path_classifiers: |
2 | test: "regression-tests*" | |
3 | library: | |
4 | - "ext" | |
5 | - exclude: ext/luawrapper | |
6 | - exclude: ext/yahttp | |
7 | - "docs" | |
8 | - "pdns/recursordist/html/js" | |
9 | - "pdns/dnsdistdist/src_js" | |
10 | - "pdns/dnsdistdist/html/js" | |
11 | extraction: | |
12 | cpp: | |
13 | configure: | |
14 | command: | |
15 | - "pushd pdns/dnsdistdist" | |
16 | - "sed -i '/^dist_man_MANS/d' Makefile.am" | |
17 | - "autoreconf -vi && ./configure" | |
18 | - "popd" | |
19 | - "pushd pdns/recursordist/" | |
20 | - "sed -i '/^dist_man_MANS/d' Makefile.am" | |
21 | - "autoreconf -vi && ./configure" | |
22 | - "popd" | |
23 | - "sed -i 's/codedocs docs//' Makefile.am" | |
24 | - "autoreconf -vi" | |
25 | - "./configure --with-modules='bind gsqlite3 gmysql gpgsql ldap'" | |
26 | index: | |
27 | build_command: | |
28 | - "pushd pdns/dnsdistdist" | |
29 | - "make" | |
30 | - "popd" | |
31 | - "pushd pdns/recursordist" | |
32 | - "make" | |
33 | - "popd" | |
34 | - "make" | |
9faee1ca | 35 | python: |
36 | python_setup: | |
37 | version: 3 | |
ddd6c920 | 38 | after_prepare: |
39 | - python3 -m pip install --upgrade --user flake8 | |
40 | before_index: | |
41 | - python3 -m flake8 --version # flake8 3.6.0 on CPython 3.6.5 on Linux | |
42 | # stop the build if there are Python syntax errors or undefined names | |
43 | - python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics | |
44 | # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | |
45 | - python3 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics |