Skip to content

Commit ddfa9e4

Browse files
cclaussgithub-actions
and
github-actions
authored
Travis CI: Remove redundant tests (#2523)
* Travis CI: Remove redundant tests * fixup! before_script * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent 7a50270 commit ddfa9e4

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

Diff for: .travis.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,21 @@ language: python
44
python: 3.8
55
cache: pip
66
before_install: pip install --upgrade pip setuptools six
7-
install: pip install black flake8
87
jobs:
98
include:
109
- name: Build
11-
before_script:
12-
- black --check . || true
13-
- flake8 --ignore=E203,W503 --max-complexity=25 --max-line-length=88 --statistics --count .
14-
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
15-
- pip install -r requirements.txt # fast fail on black, flake8, validate_filenames
10+
install: pip install pytest-cov -r requirements.txt
1611
script:
17-
- mypy --ignore-missing-imports . || true # https://github.com/python/mypy/issues/7907
1812
- pytest --doctest-modules --ignore=project_euler/ --durations=10 --cov-report=term-missing:skip-covered --cov=. .
1913
- name: Project Euler
20-
before_script:
14+
install:
2115
- pip install pytest-cov pytest-subtests
16+
before_script:
2217
- pytest --tb=no --no-summary --capture=no project_euler/validate_solutions.py || true # fail fast on wrong solution
2318
script:
2419
- pytest --doctest-modules --durations=10 --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/
2520
after_success:
2621
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
2722
notifications:
28-
webhooks: https://www.travisbuddy.com/
29-
on_success: never
23+
webhooks: https://www.travisbuddy.com/
24+
on_success: never

Diff for: DIRECTORY.md

+6
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@
190190
## Divide And Conquer
191191
* [Closest Pair Of Points](https://github.com/TheAlgorithms/Python/blob/master/divide_and_conquer/closest_pair_of_points.py)
192192
* [Convex Hull](https://github.com/TheAlgorithms/Python/blob/master/divide_and_conquer/convex_hull.py)
193+
* [Heaps Algorithm](https://github.com/TheAlgorithms/Python/blob/master/divide_and_conquer/heaps_algorithm.py)
194+
* [Heaps Algorithm Iterative](https://github.com/TheAlgorithms/Python/blob/master/divide_and_conquer/heaps_algorithm_iterative.py)
193195
* [Inversions](https://github.com/TheAlgorithms/Python/blob/master/divide_and_conquer/inversions.py)
194196
* [Max Subarray Sum](https://github.com/TheAlgorithms/Python/blob/master/divide_and_conquer/max_subarray_sum.py)
195197
* [Mergesort](https://github.com/TheAlgorithms/Python/blob/master/divide_and_conquer/mergesort.py)
@@ -244,6 +246,7 @@
244246

245247
## Graphics
246248
* [Bezier Curve](https://github.com/TheAlgorithms/Python/blob/master/graphics/bezier_curve.py)
249+
* [Vector3 For 2D Rendering](https://github.com/TheAlgorithms/Python/blob/master/graphics/vector3_for_2d_rendering.py)
247250

248251
## Graphs
249252
* [A Star](https://github.com/TheAlgorithms/Python/blob/master/graphs/a_star.py)
@@ -319,6 +322,7 @@
319322
* [Data Transformations](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/data_transformations.py)
320323
* [Decision Tree](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/decision_tree.py)
321324
* [Gaussian Naive Bayes](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/gaussian_naive_bayes.py)
325+
* [Gradient Boosting Regressor](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/gradient_boosting_regressor.py)
322326
* [Gradient Descent](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/gradient_descent.py)
323327
* [K Means Clust](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/k_means_clust.py)
324328
* [K Nearest Neighbours](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/k_nearest_neighbours.py)
@@ -650,6 +654,7 @@
650654
* [Sol1](https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_97/sol1.py)
651655
* Problem 99
652656
* [Sol1](https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_99/sol1.py)
657+
* [Validate Solutions](https://github.com/TheAlgorithms/Python/blob/master/project_euler/validate_solutions.py)
653658

654659
## Scheduling
655660
* [First Come First Served](https://github.com/TheAlgorithms/Python/blob/master/scheduling/first_come_first_served.py)
@@ -753,6 +758,7 @@
753758
* [Fetch Jobs](https://github.com/TheAlgorithms/Python/blob/master/web_programming/fetch_jobs.py)
754759
* [Get Imdb Top 250 Movies Csv](https://github.com/TheAlgorithms/Python/blob/master/web_programming/get_imdb_top_250_movies_csv.py)
755760
* [Get Imdbtop](https://github.com/TheAlgorithms/Python/blob/master/web_programming/get_imdbtop.py)
761+
* [Instagram Crawler](https://github.com/TheAlgorithms/Python/blob/master/web_programming/instagram_crawler.py)
756762
* [Recaptcha Verification](https://github.com/TheAlgorithms/Python/blob/master/web_programming/recaptcha_verification.py)
757763
* [Slack Message](https://github.com/TheAlgorithms/Python/blob/master/web_programming/slack_message.py)
758764
* [World Covid19 Stats](https://github.com/TheAlgorithms/Python/blob/master/web_programming/world_covid19_stats.py)

Diff for: requirements.txt

-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
beautifulsoup4
2-
black
32
fake_useragent
4-
flake8
53
keras
64
lxml
75
matplotlib
8-
mypy
96
numpy
107
opencv-python
118
pandas
129
pillow
13-
pre-commit
14-
pytest
15-
pytest-cov
1610
requests
1711
scikit-fuzzy
1812
sklearn

0 commit comments

Comments
 (0)