Commit 555dd445 authored by Thilo Rörig's avatar Thilo Rörig

initial ci configuration

parent e163ae2c
Pipeline #416 passed with stages
in 1 minute and 52 seconds
stages:
- build
- test
before_script:
# - echo `pwd` # debug
# - echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
build:jdk8:
image: java:8-jdk
stage: build
script:
- ./gradlew assemble
artifacts:
paths:
- build/libs/*.jar
expire_in: 1 week
only:
- branches
build:jdk:latest:
image: java:latest
stage: build
script:
- ./gradlew assemble
artifacts:
paths:
- build/libs/*.jar
expire_in: 1 week
only:
- branches
test:jdk8:
image: java:8-jdk
stage: test
script:
- ./gradlew check
test:jdkLatest:
image: java:latest
stage: test
script:
- ./gradlew check
#deploy:
#stage: deploy
#script:
#- ./deploy
after_script:
- echo "End CI"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment