@@ -4,44 +4,13 @@ python: 3.7
4
4
cache : pip
5
5
before_install : pip install --upgrade pip setuptools
6
6
install : pip install -r requirements.txt
7
- matrix :
8
- include :
9
- - name : " Main tests"
10
- # The following files currently fail pytests. See issues: #1016, #1044, #1080
11
- # Here they are run allow_failures mode and when each passes pytest, it can be
12
- # removed BOTH lists below. Complex now but simple once all files pass pytest.
13
- # - env: FILE=pytest file_transfer_protocol/ftp_client_server.py
14
- # before_script: true
15
- # script: pytest ${FILE} --doctest-modules
16
- - env : FILE=pytest file_transfer/ftp_send_receive.py
17
- before_script : true
18
- script : pytest ${FILE} --doctest-modules
19
- - env : FILE=pytest machine_learning/linear_regression.py
20
- before_script : true
21
- script : pytest ${FILE} --doctest-modules
22
- - env : FILE=pytest machine_learning/perceptron.py
23
- before_script : true
24
- script : pytest ${FILE} --doctest-modules
25
- - env : FILE=pytest machine_learning/random_forest_classification/random_forest_classification.py
26
- before_script : true
27
- script : pytest ${FILE} --doctest-modules
28
- - env : FILE=pytest machine_learning/random_forest_regression/random_forest_regression.py
29
- before_script : true
30
- script : pytest ${FILE} --doctest-modules
31
- allow_failures :
32
- - before_script : true
33
7
before_script :
34
8
- black --check . || true
35
9
- flake8 . --count --select=E9,F401,F63,F7,F82 --show-source --statistics
36
10
script :
37
11
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
38
12
- mypy --ignore-missing-imports .
39
13
- pytest . --doctest-modules
40
- --ignore=file_transfer/ftp_send_receive.py
41
- --ignore=machine_learning/linear_regression.py
42
- --ignore=machine_learning/perceptron.py
43
- --ignore=machine_learning/random_forest_classification/random_forest_classification.py
44
- --ignore=machine_learning/random_forest_regression/random_forest_regression.py
45
14
after_success :
46
15
- scripts/build_directory_md.py > DIRECTORY.md
47
16
- cat DIRECTORY.md
0 commit comments