Skip to content

Commit 12d2c07

Browse files
committed
Travis CI: Remove redundant tests
1 parent 7a50270 commit 12d2c07

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

Diff for: .travis.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,20 @@ 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
2216
- pytest --tb=no --no-summary --capture=no project_euler/validate_solutions.py || true # fail fast on wrong solution
2317
script:
2418
- pytest --doctest-modules --durations=10 --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/
2519
after_success:
2620
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
2721
notifications:
28-
webhooks: https://www.travisbuddy.com/
29-
on_success: never
22+
webhooks: https://www.travisbuddy.com/
23+
on_success: never

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)