[CI]try optimize build
This commit is contained in:
parent
4689131547
commit
03d53ecba5
@ -12,7 +12,7 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
ci_style:
|
style_job:
|
||||||
stage: style
|
stage: style
|
||||||
script:
|
script:
|
||||||
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
|
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
|
||||||
@ -20,16 +20,20 @@ ci_style:
|
|||||||
- java -jar checkstyle.jar -c CheckStyle.xml `find src/ -name "*.java"`
|
- java -jar checkstyle.jar -c CheckStyle.xml `find src/ -name "*.java"`
|
||||||
- java -jar checkstyle.jar -c CheckStyle.xml `find test/src/ -name "*.java"`
|
- java -jar checkstyle.jar -c CheckStyle.xml `find test/src/ -name "*.java"`
|
||||||
|
|
||||||
ci_build:
|
build_job:
|
||||||
stage: build
|
stage: build
|
||||||
|
dependencies:
|
||||||
|
- style_job
|
||||||
script:
|
script:
|
||||||
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
|
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
|
||||||
- eval echo "~$USER"
|
- eval echo "~$USER"
|
||||||
- ant clean
|
- ant clean
|
||||||
- ant build
|
- ant build
|
||||||
|
|
||||||
ci_test:
|
test_job:
|
||||||
stage: test
|
stage: test
|
||||||
|
dependencies:
|
||||||
|
- build_job
|
||||||
script:
|
script:
|
||||||
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
|
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
|
||||||
- ant clean build TestBasicLog
|
- ant clean build TestBasicLog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user