Add XML validation in CI
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
fdea2666f2
commit
40dac47598
|
@ -3,6 +3,12 @@ type: docker
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add libxml2-utils
|
||||
- xmllint --noout --schema itsb.xsd itsb.xml
|
||||
|
||||
- name: deploy
|
||||
image: drillster/drone-rsync
|
||||
settings:
|
||||
|
|
4
itsb.xml
4
itsb.xml
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<itsb version="1.0" xmlns="http://tilde.town/~lucidiot/itsb/">
|
||||
<itsb version="1.0" xmlns="http://tilde.town/~lucidiot/itsb/itsb.xsd">
|
||||
<section name="about" id="about">
|
||||
<content>
|
||||
<![CDATA[
|
||||
|
@ -298,7 +298,7 @@
|
|||
<frequency>100 reports/year</frequency>
|
||||
<feed lang="French" format="rss" id="bea-rss">
|
||||
<curl>
|
||||
<url>https://bea.aero/les-enquetes/evenements-notifies/?tx_news_pi1[action]=searchResult&tx_news_pi1[controller]=News&tx_news_pi1[facetAction]=add&tx_news_pi1[facetTitle]=etat_intS&tx_news_pi1[facetValue]=100&cHash=b4645da2a30ec0c83f60069d018b5619</url>
|
||||
<url>https://bea.aero/les-enquetes/evenements-notifies/?tx_news_pi1%5Baction%5D=searchResult&tx_news_pi1%5Bcontroller%5D=News&tx_news_pi1%5BfacetAction%5D=add&tx_news_pi1%5BfacetTitle%5D=etat_intS&tx_news_pi1%5BfacetValue%5D=100&cHash=b4645da2a30ec0c83f60069d018b5619</url>
|
||||
</curl>
|
||||
<pup>article.search-entry</pup>
|
||||
<jq path="bea.jq" />
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:itsb="http://tilde.town/~lucidiot/itsb/">
|
||||
xmlns:itsb="http://tilde.town/~lucidiot/itsb/itsb.xsd">
|
||||
<xsl:output method="text" />
|
||||
|
||||
<xsl:variable name="apos">'</xsl:variable>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:itsb="http://tilde.town/~lucidiot/itsb/">
|
||||
xmlns:itsb="http://tilde.town/~lucidiot/itsb/itsb.xsd">
|
||||
<xsl:output method="html" />
|
||||
|
||||
<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns="http://tilde.town/~lucidiot/itsb/"
|
||||
xmlns:itsb="http://tilde.town/~lucidiot/itsb/">
|
||||
xmlns:itsb="http://tilde.town/~lucidiot/itsb/itsb.xsd">
|
||||
<xsl:output method="xml" />
|
||||
|
||||
<!-- Preprocesses the itsb.xml file to autocomplete with converted feeds. -->
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:itsb="http://tilde.town/~lucidiot/itsb/">
|
||||
xmlns:itsb="http://tilde.town/~lucidiot/itsb/itsb.xsd">
|
||||
<xsl:output method="xml" />
|
||||
|
||||
<xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'" />
|
||||
|
|
Loading…
Reference in New Issue