-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
126 lines (110 loc) · 2.76 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Travis Configuration
stages:
- name: test
if: branch != master AND (NOT(branch = develop AND type = push))
- name: build
if: branch = master AND type != push
- name: package
if: branch = master AND type != push
- name: integration
if: branch = master AND type != push
- name: publish
if: branch = master AND type = push
jobs:
include:
- stage: test
name: "ruby-project test"
language: ruby
rvm: 2.5
install:
- make PROJECT=ruby install
script:
- make PROJECT=ruby test
- stage: test
name: "java-project test"
language: java
jdk: openjdk8
install:
- make PROJECT=java install
script:
- make PROJECT=java test
- stage: test
name: "nodejs-project test"
language: node_js
node_js: lts/dubnium
install:
- make PROJECT=nodejs install
script:
- make PROJECT=nodejs test
- stage: build
name: "nodejs-project build"
language: node_js
node_js: lts/dubnium
install:
- make PROJECT=nodejs install
script:
- make PROJECT=nodejs build
- stage: package
name: "java-project package"
language: java
jdk: openjdk8
install:
- make PROJECT=java install
script:
- make PROJECT=java package
- stage: package
name: "nodejs-project package"
language: node_js
node_js: lts/dubnium
install:
- make PROJECT=nodejs install
script:
- make PROJECT=nodejs package
- stage: integration
name: "ruby-project integration"
language: ruby
rvm: 2.5
install:
- make PROJECT=ruby install
script:
- make PROJECT=ruby integration
- stage: integration
name: "java-project integration"
language: java
jdk: openjdk8
install:
- make PROJECT=java install
script:
- make PROJECT=java integration
- stage: integration
name: "nodejs-project integration"
language: node_js
node_js: lts/dubnium
install:
- make PROJECT=nodejs install
script:
- make PROJECT=nodejs integration
- stage: publish
name: "ruby-project publish"
language: ruby
rvm: 2.5
install:
- make PROJECT=ruby install
script:
- make PROJECT=ruby publish
- stage: publish
name: "java-project publish"
language: java
jdk: openjdk8
install:
- make PROJECT=java install
script:
- make PROJECT=java publish
- stage: publish
name: "nodejs-project publish"
language: node_js
node_js: lts/dubnium
install:
- make PROJECT=nodejs install
script:
- make PROJECT=nodejs publish