@@ -4,44 +4,13 @@ python: 3.7
44cache : pip
55before_install : pip install --upgrade pip setuptools
66install : 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
337before_script :
348 - black --check . || true
359 - flake8 . --count --select=E9,F401,F63,F7,F82 --show-source --statistics
3610script :
3711 - scripts/validate_filenames.py # no uppercase, no spaces, in a directory
3812 - mypy --ignore-missing-imports .
3913 - 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
4514after_success :
4615 - scripts/build_directory_md.py > DIRECTORY.md
4716 - cat DIRECTORY.md
0 commit comments