We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e20b079 commit a742f93Copy full SHA for a742f93
1 file changed
.travis.yml
@@ -1,6 +1,7 @@
1
-install:
2
- - "wget -O vnu.zip https://github.com/validator/validator.github.io/releases/download/20140825/vnu-20140825.jar.zip"
3
- - "unzip vnu.zip"
+env:
+ - CHECKER=http://validator.w3.org/nu/
+ - FILES=$(find . -name "*.html")
4
+ - OUTPUT=$(for file in $FILES; do curl -s -F out=gnu -F doc=@$FILE $CHECKER; done)
5
6
script:
- - "java -jar ./vnu/vnu.jar index.html service.html"
7
+ - if [ -n "$output" ]; then printf "$output"; echo; exit 1; fi
0 commit comments