summaryrefslogblamecommitdiff
path: root/scripts/jobs/validate/test
blob: dd36c5db18ce268683097d9e6a4f329fd85fa61d (plain) (tree)
1
2
3
4
5
6
7
8




                             

                 
 


                  
 
    

                                                                          






                                                                                      
              
 
      

    
#!/bin/bash -e -v -x

baseDir=${WORKSPACE-`pwd`}
scriptsDir="$baseDir/scripts"
. $scriptsDir/common

case $prDryRun in

  yep)
    echo "DRY RUN"
    ;;

  *)

    # build quick using STARR built upstream, as specified by scalaVersion
    # (in that sense it's locker, since it was built with starr by that upstream job);
    # and run JUnit tests, partest, OSGi tests, MiMa and scaladoc
    $SBT_CMD \
       -Dstarr.version=$scalaVersion \
       --warn \
       "setupValidateTest $prRepoUrl" \
       $testExtraArgs \
       testAll

    ;;

esac