File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change 2525sudo : required
2626dist : trusty
2727
28- # 2. Choose language and target JDKs for parallel builds.
28+ # 2. Choose language, target JDK and env's for parallel builds.
2929language : java
3030jdk :
31- - oraclejdk7
3231 - oraclejdk8
32+ env : # Used by the install section below.
33+ # Configure the unit test build for spark core and kubernetes modules,
34+ # while excluding some flaky unit tests using a regex pattern.
35+ - PHASE=test \
36+ PROFILES="-Pmesos -Pyarn -Phadoop-2.7 -Pkubernetes" \
37+ MODULES="-pl core,resource-managers/kubernetes/core -am" \
38+ ARGS="-Dsuffixes='^org\.apache\.spark\.(?!rdd\.LocalCheckpointSuite$|deploy\.StandaloneDynamicAllocationSuite$).*'"
39+ # Configure the full build.
40+ - PHASE=install \
41+ PROFILES="-Pmesos -Pyarn -Phadoop-2.7 -Pkubernetes -Pkinesis-asl -Phive -Phive-thriftserver" \
42+ MODULES="" \
43+ ARGS="-T 4 -q -DskipTests"
3344
3445# 3. Setup cache directory for SBT and Maven.
3546cache :
@@ -41,11 +52,12 @@ cache:
4152notifications :
4253 email : false
4354
44- # 5. Run maven install before running lint-java .
55+ # 5. Run maven build before running lints .
4556install :
4657 - export MAVEN_SKIP_RC=1
47- - build/mvn -T 4 -q -DskipTests -Pmesos -Pyarn -Phadoop-2.3 -Pkubernetes -Pkinesis-asl -Phive -Phive-thriftserver install
58+ - build/mvn ${PHASE} ${PROFILES} ${MODULES} ${ARGS}
4859
49- # 6. Run lint-java .
60+ # 6. Run lints .
5061script :
5162 - dev/lint-java
63+ - dev/lint-scala
You can’t perform that action at this time.
0 commit comments