Merge pull request #2 from slaykovsky/circle

Validate HTML and CSS in CircleCI
pull/3/head
Vladimir Gorbunov 2018-06-23 02:17:06 +03:00 committed by GitHub
commit 7188e95d64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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