2017-11-25 00:10:39 +01:00
|
|
|
language: python
|
2019-07-03 09:21:03 +02:00
|
|
|
dist: xenial # required for Python >= 3.7
|
|
|
|
python: 3.7
|
2019-07-08 17:27:51 +02:00
|
|
|
cache: pip
|
2019-07-10 06:59:39 +02:00
|
|
|
before_install: pip install --upgrade pip setuptools
|
2019-07-08 17:27:51 +02:00
|
|
|
install: pip install -r requirements.txt
|
|
|
|
before_script:
|
|
|
|
- black --check . || true
|
2019-07-25 09:49:00 +02:00
|
|
|
- flake8 . --count --select=E9,F401,F63,F7,F82 --show-source --statistics
|
2019-07-08 17:27:51 +02:00
|
|
|
script:
|
|
|
|
- mypy --ignore-missing-imports .
|
2019-07-18 19:34:29 -03:00
|
|
|
- pytest . --doctest-modules
|
|
|
|
--ignore=data_structures/stacks/balanced_parentheses.py
|
|
|
|
--ignore=data_structures/stacks/infix_to_postfix_conversion.py
|
|
|
|
--ignore=file_transfer_protocol/ftp_send_receive.py
|
|
|
|
--ignore=file_transfer_protocol/ftp_client_server.py
|
|
|
|
--ignore=machine_learning/linear_regression.py
|
|
|
|
--ignore=machine_learning/perceptron.py
|
|
|
|
--ignore=machine_learning/random_forest_classification/random_forest_classification.py
|
|
|
|
--ignore=machine_learning/random_forest_regression/random_forest_regression.py
|
2019-07-08 17:27:51 +02:00
|
|
|
after_success:
|
2019-07-13 15:50:37 -04:00
|
|
|
- python scripts/build_directory_md.py
|
2019-07-08 17:27:51 +02:00
|
|
|
- cat DIRECTORY.md
|