Validate HTML and CSS in CircleCI

SSIA
pull/2/head
Alexey Slaykovsky 2018-06-23 00:44:48 +02:00
parent a0263dff0d
commit 9f34352aa2
No known key found for this signature in database
GPG Key ID: A065268B9386EF08
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
version: 2
jobs:
build:
docker:
- image: python:3
steps:
- run:
name: install validator
command: pip install html5validator
- run:
name: install OpenJDK
command: apt update && apt install -y openjdk-8-jre
- checkout
- run:
name: validate html
command: html5validator --root .
- run:
name: validate css
command: html5validator --css --root ./css