We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b53900 commit 5571e4eCopy full SHA for 5571e4e
check-branch.sh
@@ -24,7 +24,15 @@ do
24
prefix="$(printf %04d $count)"
25
filename="tmp/$prefix-$commit"
26
start=$(date +%s)
27
- mvn clean verify > "$filename" 2>&1 && result=SUCCESS || result=FAILURE
+ if [ -f Makefile ]
28
+ then
29
+ make test > "$filename" 2>&1 && result=SUCCESS || result=FAILURE
30
+ elif [ -f pom.xml ]
31
32
+ mvn clean verify > "$filename" 2>&1 && result=SUCCESS || result=FAILURE
33
+ else
34
+ result=SKIPPED
35
+ fi
36
end=$(date +%s)
37
time=$(expr "$end" - "$start")
38
echo "$prefix $commit $result $time"
0 commit comments