.gitlab-ci.yml 446 Bytes
Newer Older
Johannes Mey's avatar
Johannes Mey committed
1
stages:
2
3
- build
- test
Johannes Mey's avatar
Johannes Mey committed
4

5
6
7
8
9
10
11
12
before_script:
  - export GRADLE_USER_HOME=`pwd`/.gradle

cache:
  paths:
    - .gradle/wrapper
    - .gradle/caches

13
build:
Johannes Mey's avatar
Johannes Mey committed
14
15
16
  image: openjdk:8
  stage: build
  script:
17
    - ./gradlew --console=plain --no-daemon assemble jar
18
  artifacts:
19
    paths:
20
      - "/builds/jastadd/relational-rags/build/libs/relast-*.jar"
21
22
23
24
25

test:
  image: openjdk:8
  stage: test
  script:
26
    - ./gradlew --console=plain --no-daemon --info test