forked from TheAlgorithms/Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (35 loc) · 933 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: python
dist: xenial # required for Python >= 3.7
python: 3.7
cache: pip
before_install: pip install --upgrade pip setuptools
install: pip install -r requirements.txt
before_script:
- black --check . || true
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
script:
- mypy --ignore-missing-imports .
#- IGNORE="data_structures,file_transfer_protocol,graphs,machine_learning,maths,neural_network,project_euler"
#- pytest . --doctest-modules --ignore=${IGNORE}
- pytest --doctest-modules
arithmetic_analysis
backtracking
boolean_algebra
ciphers
compression
conversions
digital_image_processing
divide_and_conquer
dynamic_programming
hashes
linear_algebra_python
matrix
networking_flow
other
searches
sorts
strings
traversals
after_success:
- python ./~script.py
- cat DIRECTORY.md