17 lines
511 B
Plaintext
Executable File
17 lines
511 B
Plaintext
Executable File
# Run checks from GitHub "Static Analysis with Maven" action
|
|
|
|
# compile with ECJ for warnings or errors
|
|
mvn antrun:run -Danttarget=tests-warnings-check
|
|
|
|
# run Spotbugs and Checkstyle
|
|
mvn clean test -U -P travis-spotbugs --batch-mode --file=pom.xml
|
|
|
|
# run Javadoc
|
|
mvn javadoc:javadoc -U --batch-mode --file=pom.xml
|
|
|
|
# check html
|
|
mvn exec:exec -P travis-scanhelp --file=pom.xml
|
|
|
|
#run Architecture tests
|
|
mvn -Dtest=jmri.ArchitectureTest,jmri.TestArchitectureTest,jmri.util.FileLineEndingsCheck test --file=pom.xml
|