Skip to content

Commit 8c7ae00

Browse files
committed
pytest --doctest-modules .
1 parent 9f8953d commit 8c7ae00

File tree

1 file changed

+19
-25
lines changed

1 file changed

+19
-25
lines changed

.travis.yml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,27 @@ install: pip install -r requirements.txt
77
before_script:
88
- black --check . || true
99
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
10+
#matrix:
11+
# include:
12+
# - script: pytest --doctest-modules -v data_structures # These tests currently fail. See: #989
13+
# - script: pytest --doctest-modules -v file_transfer_protocol # These tests currently fail. See: #983
14+
# - script: pytest --doctest-modules -v machine_learning # These tests currently fail. See: #985
15+
# - script: pytest --doctest-modules -v maths # These tests currently fail. See: #986
1016
script:
1117
- mypy --ignore-missing-imports .
12-
#- IGNORE="data_structures,file_transfer_protocol,graphs,machine_learning,maths,neural_network,project_euler"
13-
#- pytest . --doctest-modules --ignore=${IGNORE}
14-
- pytest --doctest-modules
15-
arithmetic_analysis
16-
backtracking
17-
boolean_algebra
18-
ciphers
19-
compression
20-
conversions
21-
digital_image_processing
22-
divide_and_conquer
23-
dynamic_programming
24-
graphs
25-
hashes
26-
linear_algebra_python
27-
matrix
28-
networking_flow
29-
neural_network
30-
other
31-
project_euler
32-
searches
33-
sorts
34-
strings
35-
traversals
36-
18+
- pytest . --doctest-modules
19+
--ignore=data_structures/stacks/balanced_parentheses.py
20+
--ignore=data_structures/stacks/infix_to_postfix_conversion.py
21+
--ignore=file_transfer_protocol/ftp_send_receive.py
22+
--ignore=file_transfer_protocol/ftp_client_server.py
23+
--ignore=machine_learning/linear_regression.py
24+
--ignore=machine_learning/perceptron.py
25+
--ignore=machine_learning/random_forest_classification/random_forest_classification.py
26+
--ignore=machine_learning/random_forest_regression/random_forest_regression.py
27+
--ignore=maths/abs_min.py
28+
--ignore=maths/binary_exponentiation.py
29+
--ignore=maths/lucas_series.py
30+
--ignore=maths/sieve_of_eratosthenes.py
3731
after_success:
3832
- python scripts/build_directory_md.py
3933
- cat DIRECTORY.md

0 commit comments

Comments
 (0)