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