Skip to content

Commit f72c64e

Browse files
Use HTML checker binary image, not system Java
This change makes the HTML-spec deploy build download and use the (Linux) binary image of the HTML checker rather than downloading and using the jar release of the checker and relying on using a system Java runtime to run that jar. Note that we call ./vnu-runtime-image/bin/java rather than the ./vnu-runtime-image/bin/vnu convenience wrapper script because we need to feed java the -Xmx1g argument.
1 parent a6f53cd commit f72c64e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci-deploy/inside-container.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ IS_TEST_OF_HTML_BUILD_ITSELF=${IS_TEST_OF_HTML_BUILD_ITSELF:-false}
2727
# Conformance-check the result
2828
echo ""
2929
echo "Downloading and running conformance checker..."
30-
curl --retry 2 --remote-name --fail --location https://github.com/validator/validator/releases/download/jar/vnu.jar
31-
java -Xmx1g -jar vnu.jar --skip-non-html "$HTML_OUTPUT"
30+
curl --retry 2 --remote-name --fail --location https://github.com/validator/validator/releases/download/linux/vnu.linux.zip
31+
unzip vnu.linux.zip
32+
./vnu-runtime-image/bin/java -Xmx1g -m vnu/nu.validator.client.SimpleCommandLineValidator --skip-non-html "$HTML_OUTPUT"
3233
echo ""
3334

3435
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then

0 commit comments

Comments
 (0)