forked from cloudfoundry-attic/cf-abacus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
121 lines (118 loc) · 3.68 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
language: node_js
node_js: "6.10.0"
dist: trusty
sudo: false
env:
global:
- CF_TEST="false"
- START_TIMEOUT=20000
- TOTAL_TIMEOUT=120000
jobs:
include:
- &unit-tests
stage: unit tests
script: npm run build && npm run coveralls
env:
- DESCRIPTION="pouchdb"
- <<: *unit-tests
env:
- DESCRIPTION="couchdb"
- JOBS=1
- DBCLIENT=abacus-couchclient
- DB=http://localhost:5984
services:
- couchdb
- <<: *unit-tests
env:
- DESCRIPTION="mongodb"
- JOBS=1
- DBCLIENT=abacus-mongoclient
- DB=mongodb://localhost:27017
services:
- mongodb
- &integration-tests
stage: integration tests
before_script: npm run provision
script: travis_retry npm run citest -- --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
env:
- DESCRIPTION="pouchdb"
- CI_TEST=itest
- <<: *integration-tests
env:
- DESCRIPTION="couchdb"
- JOBS=1
- DBCLIENT=abacus-couchclient
- DB=http://localhost:5984
- CI_TEST=itest
services:
- couchdb
- <<: *integration-tests
env:
- DESCRIPTION="mongodb"
- JOBS=1
- DBCLIENT=abacus-mongoclient
- DB=mongodb://localhost:27017
- CI_TEST=itest
services:
- mongodb
- &extended-tests
stage: extended tests
before_script: npm run provision
script: travis_retry npm run citest -- --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
env:
- DESCRIPTION="pouchdb"
- CI_TEST=extended
- <<: *extended-tests
env:
- DESCRIPTION="couchdb"
- JOBS=1
- DBCLIENT=abacus-couchclient
- DB=http://localhost:5984
- CI_TEST=extended
services:
- couchdb
- <<: *extended-tests
env:
- DESCRIPTION="mongodb"
- JOBS=1
- DBCLIENT=abacus-mongoclient
- DB=mongodb://localhost:27017
- CI_TEST=extended
services:
- mongodb
- &perf-tests
stage: performance tests
script: travis_retry npm run citest -- --start-timeout $START_TIMEOUT --total-timeout $TOTAL_TIMEOUT
before_script: npm run provision
env:
- DESCRIPTION="pouchdb"
- CI_TEST=perf
- <<: *perf-tests
env:
- DESCRIPTION="couchdb"
- JOBS=1
- DBCLIENT=abacus-couchclient
- DB=http://localhost:5984
- CI_TEST=perf
services:
- couchdb
- <<: *perf-tests
env:
- DESCRIPTION="mongodb 2.6"
- JOBS=1
- DBCLIENT=abacus-mongoclient
- DB=mongodb://localhost:27017
- CI_TEST=perf
services:
- mongodb
- stage: deploy
script: travis_retry npm run cftest -- --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=