Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
Drop HTML/CSS/JS checks from the delivery pipeline
Browse files Browse the repository at this point in the history
Too much infrastructure for something I haven't touched in a while.
Anyway, the difficulty of running these tools manually is dwarfed
by the difficulty of testing (non-trivial) changes in Web browsers.
  • Loading branch information
vfaronov committed Jun 27, 2019
1 parent dc78af9 commit bad6b1f
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 114 deletions.
24 changes: 0 additions & 24 deletions .eslintrc.js

This file was deleted.

15 changes: 2 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ language: python
dist: xenial
sudo: false

addons:
apt:
packages:
- xmlstarlet

matrix:
include:
- python: "3.4"
Expand All @@ -26,8 +21,6 @@ install:
- if [ "$REQUIRES" = minimum ]; then tools/minimum_requires.sh; fi
- pip install -e .
- pip install -r tools/requirements.txt
- tools/vnu.sh install
- tools/eslint.sh install

cache: pip

Expand All @@ -41,14 +34,10 @@ script:
- pytest

# Although the main docs (``doc/``) are processed by Read the Docs,
# we want to check that they are building OK, and validate the resulting
# HTML report. But first, make sure that the included API example works.
# we want to check that they are building OK.
# Also, make sure that the included API example works.
- python doc/api_example.py && grep -q 1194 report.html
- sphinx-build -W doc/ doc/_build/
- tools/vnu.sh run doc/_build/showcase.html
- tools/vnu.sh run doc/_build/notices.html
- tools/css_validator.sh httpolice/reports/html.css
- tools/eslint.sh run httpolice/reports/html.js

# Check the assorted reStructuredText documents at the top of the repo.
- tools/check_rst.sh
Expand Down
5 changes: 0 additions & 5 deletions HACKING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,6 @@ Maintenance

$ pip-compile --upgrade tools/requirements.in

#. Update other pinned versions:

- Nu Html Checker (in ``tools/vnu.sh``);
- ESLint (in ``tools/eslint.sh``).

#. Check that everything is OK with the new versions.
Maybe some Pylint overrides are no longer necessary, etc.

Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ include httpolice/known/README.rst
include .coveragerc
include pylintrc
include pytest.ini
include .eslintrc.js

# Even though Travis only works on a Git repo,
# this file is important as a reference on the build procedure.
Expand Down
14 changes: 0 additions & 14 deletions tools/css_validator.sh

This file was deleted.

22 changes: 0 additions & 22 deletions tools/eslint.sh

This file was deleted.

35 changes: 0 additions & 35 deletions tools/vnu.sh

This file was deleted.

0 comments on commit bad6b1f

Please sign in to comment.