Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79330f7

Browse files
committed
Update
1 parent 0dfa7a2 commit 79330f7

5 files changed

Lines changed: 19 additions & 4 deletions

File tree

.travis/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@
2727
<version>12.2.0.1</version>
2828
<scope>compile</scope>
2929
</dependency>
30+
<dependency>
31+
<groupId>xml_validator</groupId>
32+
<artifactId>xml_validator</artifactId>
33+
<version>1.0</version>
34+
<scope>system</scope>
35+
<systemPath>${project.basedir}/lib/xml_validator.jar</systemPath>
36+
</dependency>
37+
<dependency>
38+
<groupId>com.oracle.jdbc</groupId>
39+
<artifactId>orai18n</artifactId>
40+
<version>12.2.0.1</version>
41+
<scope>compile</scope>
42+
</dependency>
3043
</dependencies>
3144

3245
<repositories>

.travis/validate_report_files.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
GL_VALID=1
44

55
HTML_FILENAME="coverage.html"
6+
XSD_DIR="xsd"
7+
XML_JAR_DIR="lib"
68
JUNIT_FILENAME="junit_test_results.xml"
7-
JUNIT_XSD="junit4.xsd"
9+
JUNIT_XSD="xsd\junit4.xsd"
810
TFS_FILENAME="tfs_test_results.xml"
9-
TFS_XSD="junit_windy.xsd"
11+
TFS_XSD="xsd\junit_windy.xsd"
1012

1113

1214
#Exclude existing issue with OL nested in PRE
@@ -19,7 +21,7 @@ WARNING_REGEX="info warning:"
1921
ERROR_REGEX="error:"
2022

2123
#XML Validator
22-
XML_VALIDATOR="xml_validator.jar"
24+
XML_VALIDATOR="lib\xml_validator.jar"
2325

2426
#Validate HTML
2527
HTML_VALIDATION_RESULTS=$(curl -H "Content-Type: text/html; charset=utf-8" --data-binary @$HTML_FILENAME "$HTML_VALIDATOR_URL?out=$VALIDATOR_OUT&filterpattern=$EXCLUSION_REGEX")
@@ -39,7 +41,7 @@ fi
3941

4042

4143
#Validate XML TFS_FILENAME
42-
TFS_RESULT=$(java -jar $XML_VALIDATOR -s $TFS_XSD $TFS_FILENAME 2>&1)
44+
TFS_RESULT=$(java -jar $$XML_VALIDATOR -s $TFS_XSD $TFS_FILENAME 2>&1)
4345

4446
if [ $? -ne 0 ]; then
4547
GL_VALID=0

0 commit comments

Comments
 (0)