| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,5 @@ | |||
| 1 | + [report] | ||
| 2 | + omit = | ||
| 3 | + */python?.?/* | ||
| 4 | + */site-packages/nose/* | ||
| 5 | + *__init__* | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,8 +12,13 @@ matrix: | |||
| 12 | 12 | - python: 3.6 | |
| 13 | 13 | env: TOX_ENV=py36 | |
| 14 | 14 | install: | |
| 15 | - - pip install codecov | ||
| 15 | + - pip install -r test_requirements.txt | ||
| 16 | + before_script: | ||
| 17 | + - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics | ||
| 18 | + - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
| 16 | 19 | script: | |
| 17 | - - coverage run | ||
| 20 | + - pip3 install -e . | ||
| 21 | + - tox -e $TOX_ENV | ||
| 22 | + - pip3 uninstall -y algorithms | ||
| 18 | 23 | notifications: | |
| 19 | 24 | email: false | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,9 +55,9 @@ print(binary_search(arr, 3)) | |||
| 55 | 55 | # Tree | |
| 56 | 56 | ||
| 57 | 57 | - Searches | |
| 58 | - - [Binary Search](binary_search) | ||
| 58 | + - [Binary Search](searches/binary-search) | ||
| 59 | 59 | - Sorting | |
| 60 | - - [Merge Sort](merge_sort) | ||
| 60 | + - [Merge Sort](sorting/merge-sort) | ||
| 61 | 61 | ||
| 62 | 62 | ||
| 63 | 63 | # Related | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,9 +55,9 @@ print(binary_search(arr, 3)) | |||
| 55 | 55 | # Tree | |
| 56 | 56 | ||
| 57 | 57 | - Searches | |
| 58 | - - [Binary Search](binary_search) | ||
| 58 | + - [Binary Search](docs/searches/binary-search) | ||
| 59 | 59 | - Sorting | |
| 60 | - - [Merge Sort](merge_sort) | ||
| 60 | + - [Merge Sort](docs/sorting/merge-sort) | ||
| 61 | 61 | ||
| 62 | 62 | ||
| 63 | 63 | # Related | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + flake8 | ||
| 2 | + python-coveralls | ||
| 3 | + coverage | ||
| 4 | + nose | ||
| 5 | + pytest | ||
| 6 | + tox | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,64 @@ | |||
| 1 | + [tox] | ||
| 2 | + envlist = | ||
| 3 | + py34 | ||
| 4 | + py35 | ||
| 5 | + py36 | ||
| 6 | + coverage | ||
| 7 | + | ||
| 8 | + [testenv] | ||
| 9 | + passenv = TRAVIS TRAVIS_* | ||
| 10 | + basepython = | ||
| 11 | + py34: python3.4 | ||
| 12 | + py35: python3.5 | ||
| 13 | + py36: python3.6 | ||
| 14 | + py37: python3.7 | ||
| 15 | + deps = | ||
| 16 | + coverage | ||
| 17 | + coveralls | ||
| 18 | + commands = | ||
| 19 | + coverage run --source=tests,allalgorithms -m unittest discover tests | ||
| 20 | + coverage report -m | ||
| 21 | + coveralls | ||
| 22 | + | ||
| 23 | + [testenv:py34] | ||
| 24 | + passenv = CI TRAVIS TRAVIS_* | ||
| 25 | + basepython = | ||
| 26 | + python3.4 | ||
| 27 | + deps = | ||
| 28 | + pytest | ||
| 29 | + commands = | ||
| 30 | + python3 -m unittest discover tests | ||
| 31 | + python3 -m pytest tests | ||
| 32 | + | ||
| 33 | + [testenv:py35] | ||
| 34 | + passenv = CI TRAVIS TRAVIS_* | ||
| 35 | + basepython = | ||
| 36 | + python3.5 | ||
| 37 | + deps = | ||
| 38 | + pytest | ||
| 39 | + commands = | ||
| 40 | + python3 -m unittest discover tests | ||
| 41 | + python3 -m pytest tests | ||
| 42 | + | ||
| 43 | + [testenv:py36] | ||
| 44 | + passenv = CI TRAVIS TRAVIS_* | ||
| 45 | + basepython = | ||
| 46 | + python3.4 | ||
| 47 | + deps = | ||
| 48 | + pytest | ||
| 49 | + commands = | ||
| 50 | + python3 -m unittest discover tests | ||
| 51 | + python3 -m pytest tests | ||
| 52 | + | ||
| 53 | + [testenv:coverage] | ||
| 54 | + passenv = CI TRAVIS TRAVIS_* | ||
| 55 | + skip_install = True | ||
| 56 | + basepython = | ||
| 57 | + python3.5 | ||
| 58 | + commands = | ||
| 59 | + coverage run --source=tests,allalgorithms -m unittest discover tests | ||
| 60 | + coverage report -m | ||
| 61 | + coveralls | ||
| 62 | + deps = | ||
| 63 | + coverage | ||
| 64 | + coveralls | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments