-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
45 lines (38 loc) · 1.43 KB
/
.travis.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
43
44
45
language: java
jdk:
- oraclejdk8
env:
- TERM=dumb
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- chmod +x infrastructure/logging-jsr346/gradlew
- chmod +x infrastructure/hystrix-jsr236/gradlew
- chmod +x infrastructure/metrics-jsr340/gradlew
- chmod +x microservices/datagrid-service/gradlew
- chmod +x microservices/process-service/gradlew
- chmod +x microservices/billing-service/gradlew
- chmod +x microservices/payment-service/gradlew
- chmod +x microservices/dashboard-service/gradlew
jobs:
include:
- stage: Build Infrastructure
script: cd infrastructure/logging-jsr346/ && ./gradlew build
- stage: Build Infrastructure
script: cd infrastructure/hystrix-jsr236/ && ./gradlew build
- stage: Build Infrastructure
script: cd infrastructure/metrics-jsr340/ && ./gradlew build
- stage: Build Microservices
script: cd microservices/datagrid-service/ && ./gradlew build
- stage: Build Microservices
script: cd microservices/process-service/ && ./gradlew build
- stage: Build Microservices
script: cd microservices/billing-service/ && ./gradlew build
- stage: Build Microservices
script: cd microservices/payment-service/ && ./gradlew build
- stage: Build Microservices
script: cd microservices/dashboard-service/ && ./gradlew build