forked from cloudfoundry-attic/cf-abacus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
155 lines (147 loc) · 4.65 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
language: node_js
dist: trusty
sudo: false
git:
depth: 3
before_install:
- npm i -g npm@latest-4
- npm run bootstrap
env:
global:
- CF_TEST=false
- START_TIMEOUT=20000
- TOTAL_TIMEOUT=120000
matrix:
fast_finish: true
include:
- env:
- DESCRIPTION=unit-tests-pouchdb
- JOBS=1
node_js: 8.9.4
script:
- yarn run build && yarn run generate-coverage && yarn run report-coverage
- env:
- DESCRIPTION=unit-tests-couchdb
- DBCLIENT=abacus-couchclient
- DB=http://localhost:5984
- JOBS=1
node_js: 8.9.4
services:
- couchdb
script:
- yarn run build && yarn run generate-coverage && yarn run report-coverage
- env:
- DESCRIPTION=unit-tests-mongodb
- DBCLIENT=abacus-mongoclient
- DB=mongodb://localhost:27017
- JOBS=1
node_js: 8.9.4
services:
- mongodb
script:
- yarn run build && yarn run generate-coverage && yarn run report-coverage
- env:
- DESCRIPTION=itests-pouchdb
- CI_TEST=itest
- JOBS=1
node_js: 8.9.4
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
- env:
- DESCRIPTION=itests-couchdb
- DBCLIENT=abacus-couchclient
- DB=http://localhost:5984
- JOBS=1
- CI_TEST=itest
node_js: 8.9.4
services:
- couchdb
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
- env:
- DESCRIPTION=itests-mongodb
- DBCLIENT=abacus-mongoclient
- DB=mongodb://localhost:27017
- JOBS=1
- CI_TEST=itest
node_js: 8.9.4
services:
- mongodb
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
- env:
- DESCRIPTION=extended-tests-pouchdb
- CI_TEST=extended
- JOBS=1
node_js: 8.9.4
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
- env:
- DESCRIPTION=extended-tests-couchdb
- DBCLIENT=abacus-couchclient
- DB=http://localhost:5984
- JOBS=1
- CI_TEST=extended
node_js: 8.9.4
services:
- couchdb
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
- env:
- DESCRIPTION=extended-tests-mongodb
- DBCLIENT=abacus-mongoclient
- DB=mongodb://localhost:27017
- JOBS=1
- CI_TEST=extended
node_js: 8.9.4
services:
- mongodb
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
- env:
- DESCRIPTION=perf-tests-pouchdb
- CI_TEST=perf
- JOBS=1
node_js: 8.9.4
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
- env:
- DESCRIPTION=perf-tests-couchdb
- DBCLIENT=abacus-couchclient
- DB=http://localhost:5984
- JOBS=1
- CI_TEST=perf
node_js: 8.9.4
services:
- couchdb
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
- env:
- DESCRIPTION=perf-tests-mongodb
- DBCLIENT=abacus-mongoclient
- DB=mongodb://localhost:27017
- JOBS=1
- CI_TEST=perf
node_js: 8.9.4
services:
- mongodb
script:
- yarn run provision
- travis_retry yarn run citest --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
notifications:
irc:
use_notice: true
on_success: change
on_failure: change
channels:
- chat.freenode.net#cf-abacus
slack:
secure: ZanKYSBhluB1KMzd003+7PiASbgKKwNKl3Ucc4B3wuFWdpdNp/K4/AxPnjGTIRvFtyMtvHf+392bURxBWQMypyW+FMQXGOnJD+bVrVhzxAVc10smkT59NcemWry4gwHQlPF22MB+EoYqnsqXLFltMalEzRC+sjiXED7ZguUD7SJquRmydIlBHkU8hqbGwLg78oNS9WarhvikjsrKchNfSLe3pOMCspgpNQ4KAY+KdrUB4hAqlaul+WdUz3ivaazQZXtV4Rq9i9ADHh7WgyF1SYSWrqAQXuiM5KnwaD/m3lL01F9wxfK/NbuPH6gYg1XZhxhGBw4uT+udWZ3YFQy/G3YRu8URx1er+evI8JMhjjO+BIO1K3geEQ1Kmu1FdCeuhtbWVo0fokLkQGISVc0llgjIC1PR8NMMtDHTvUiK44F8GRONnT9tmKTyJBfRCwD23NV6oWPH2LL6uCya4CmveaKSz1G3IjulGGCdxCkIMjraw/J7fkg8INc9lhEl8Uim7pIJkDjuNp8zf4AGOTUpX1O9RMMvQkWqmpkf4Gug/JFcMAiX1WEQ6/5M3Q3HBLW3fe2DEp1H+A9RakA/QMGIytFm9oAnUGhad20wmvPlAaWxY+UpLHH/VNx7X5k/DhygSKnORuHLuR821LXCuLROEh5dtxdZckxXWFJH11xXhlw=