Skip to content

Commit ed26a9c

Browse files
Try testing the whole jar build.
1 parent eac7dcd commit ed26a9c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
language: java
2+
13
env:
24
global:
35
- CHECKER=http://validator.w3.org/nu/
46
- FILES=$(find . -name "*.html")
57
- OUTPUT=$(for file in $FILES; do curl -s -F out=gnu -F doc=@$file $CHECKER; done)
68

79
script:
10+
- git clone https://github.com/validator/build.git build
11+
- python ./build/build.py checkout
12+
- python ./build/build.py dldeps test
13+
- python ./build/build.py build; python ./build/build.py build
14+
- python ./build/build.py test
15+
- python ./build/build.py jar
16+
- java -jar ./build/vnu/vnu.jar $FILES
817
- if [ -n "$OUTPUT" ]; then printf "$OUTPUT"; exit 1; fi

0 commit comments

Comments
 (0)