2017-12-28 15:34:21 +00:00
|
|
|
image: maven:3-jdk-8
|
|
|
|
|
2018-09-30 13:51:15 +00:00
|
|
|
release:
|
2018-09-26 21:39:11 +00:00
|
|
|
stage: build
|
2018-02-12 21:42:16 +00:00
|
|
|
script:
|
2018-09-26 21:39:11 +00:00
|
|
|
- "mvn package"
|
2018-09-30 09:52:23 +00:00
|
|
|
- "ls target"
|
2018-09-29 10:24:57 +00:00
|
|
|
- "unzip -d target/release target/kickc-release.zip"
|
2018-10-01 23:06:36 +00:00
|
|
|
- "mv target/release/kickc/lib/kickc-release.jar target/release/kickc/lib/kickc-${CI_COMMIT_REF_NAME}.jar"
|
2018-09-30 10:31:24 +00:00
|
|
|
- "mv target/release/kickc/* ."
|
2018-09-30 13:51:15 +00:00
|
|
|
- "cat target/site/jacoco/index.html"
|
2018-09-26 20:49:00 +00:00
|
|
|
artifacts:
|
2018-10-01 23:06:36 +00:00
|
|
|
name: kickc_${CI_COMMIT_REF_NAME}
|
2018-09-26 20:49:00 +00:00
|
|
|
paths:
|
2018-09-30 23:14:59 +00:00
|
|
|
- ./bin
|
2018-09-30 10:31:24 +00:00
|
|
|
- ./lib
|
|
|
|
- ./stdlib
|
2018-09-30 23:14:59 +00:00
|
|
|
- ./examples
|
2018-09-30 10:31:24 +00:00
|
|
|
- ./LICENSE*
|
2018-09-30 18:32:50 +00:00
|
|
|
- ./NOTICE*
|
|
|
|
- ./*.pdf
|