forked from zhcet-amu/zhcet-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
42 lines (35 loc) · 944 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: 2
jobs:
build:
working_directory: ~/zhcet
docker:
- image: circleci/openjdk:10-jdk-browsers
environment:
TZ: "/usr/share/zoneinfo/Asia/Kolkata"
environment:
TZ: "/usr/share/zoneinfo/Asia/Kolkata"
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}
- run:
name: Download Dependencies
command: ./gradlew dependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}
- run:
name: Run Tests
command: ./gradlew build
- run:
name: Run Tests
command: ./gradlew bootJar
- store_artifacts:
path: build/libs
destination: jar
- store_artifacts:
path: build/reports/tests
destination: tests
- store_test_results:
path: build/reports/tests