-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy path.travis.yml
60 lines (53 loc) · 2.17 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: python
# Default Python version is usually 2.7
python: 3.7
# Install ruby to get gem command
before_install:
- python --version
- pip install -U pip
- pip install -U pytest
- pip install codecov
- sudo apt-add-repository -y ppa:brightbox/ruby-ng
- sudo apt-get -y update
- sudo apt-get -y install ruby-full
before_script:
- gem install awesome_bot
install:
- pip3 install -r requirements.txt
- pip3 install pytest
- pip3 install pytest-cov
- pip3 install codecov
script:
- awesome_bot README.md --allow-dupe --allow-redirect
- pytest --cov=Algorithms/
# # Dynamic Programming Tests
# - python Algorithm_tests/dynamic_programming_tests/knapsack_tests/knapsack_bottomup_test.py
# - python Algorithm_tests/dynamic_programming_tests/sequence_alignment/sequence_alignment_test.py
# - python Algorithm_tests/dynamic_programming_tests/weighted_interval_scheduling/weighted_interval_scheduling_test.py
#
# # Graph Theory Tests
# - python Algorithm_tests/graphtheory_tests/bellman_ford_test.py
# - python Algorithm_tests/graphtheory_tests/kahn_topological_ordering_test.py
# - python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_heap_test.py
# - python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_naive_test.py
# - python Algorithm_tests/graphtheory_tests/kruskal_unionfind_test.py
# - python Algorithm_tests/graphtheory_tests/prims_algorithm_test.py
# - python Algorithm_tests/graphtheory_tests/BFS_test.py
# - python Algorithm_tests/graphtheory_tests/DFS_test.py
#
# # Math tests
# - python Algorithm_tests/other_tests/test_binarysearch.py
# - python Algorithm_tests/math_tests/intersection_test.py
# - python Algorithm_tests/math_tests/union_test.py
#
# # Cryptography tests
# - python Algorithm_tests/cryptology_tests/ceasar_test.py
#
# # "Other" tests
# - python Algorithm_tests/other_tests/test_medianmaintenance.py
# - python Algorithm_tests/other_tests/test_intervalscheduling.py
#
# # Sorting tests
# - python Algorithm_tests/sorting_tests/test_sorting.py
after_success:
- codecov