File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ process() {
6666 cd " $1 "
6767
6868 # -- Git sanity checks --
69+
6970 repoSlug=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="scm"]/*[local-name()="connection"]' pom.xml| sed ' s_.*github.com[:/]\(.*\)<.*_\1_' )
7071 test " $repoSlug " && info " Repository = $repoSlug " || die ' Could not determine GitHub repository slug'
7172 case " $repoSlug " in
@@ -83,6 +84,7 @@ process() {
8384# die "Mismatch with upstream branch (local ahead?)"
8485
8586 # -- POM sanity checks --
87+
8688 parent=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="parent"]/*[local-name()="artifactId"]' pom.xml| sed ' s/[^>]*>//' | sed ' s/<.*//' )
8789 if [ -z " $SKIP_PARENT_CHECK " ]
8890 then
@@ -91,6 +93,7 @@ process() {
9193 fi
9294
9395 # -- Travis sanity checks --
96+
9497 test -e " $travisDir " -a ! -d " $travisDir " && die " $travisDir is not a directory"
9598 test -e " $travisConfig " -a ! -f " $travisConfig " && die " $travisConfig is not a regular file"
9699 test -e " $travisConfig " && warn " $travisConfig already exists"
You can’t perform that action at this time.
0 commit comments