From eb6fc0b3ceee5b6ffcefa834b82c7d2eb93343de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20=C5=BBygie=C5=82o?= Date: Thu, 13 Dec 2018 18:50:43 +0100 Subject: [PATCH] With bad xml travis should fail the build (#1112) * With bad xml travis should fail the build * Validate SVGs for being well-formed XMLs --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index ed5774e4..7bcecbf7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,11 @@ jobs: - stage: "Test" name: "Lint" language: node_js + before_install: + - sudo apt-get install -y xmlstarlet node_js: 8 script: + - xmlstarlet validate --well-formed icons/*.svg - npm run jsonlint - npm run svglint - name: "Build website"