This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
/
.travis.yml
98 lines (93 loc) · 2.87 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
language: node_js
dist: trusty
sudo: false
git:
depth: 3
before_install:
- nvm install 8.11.3
- npm install -g npm@latest-4
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.1
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn run bootstrap
- "phantomjs --version"
- "export PHANTOMJS_VERSION=2.1.1"
- "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH"
- yarn global add greenkeeper-lockfile@2
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
env:
global:
- CF_TEST=false
matrix:
fast_finish: true
include:
- name: "Unit Tests"
services:
- mongodb
- rabbitmq
script:
- yarn run build && yarn run generate-coverage && yarn run report-coverage
- name: "Integration Tests"
env:
- START_TIMEOUT=20000
- TOTAL_TIMEOUT=120000
- CI_TEST=integration
services:
- mongodb
- rabbitmq
script:
- yarn run provision
- travis_retry yarn run citest
- name: "Smoke Tests"
env:
- SMOKE_START_TIMEOUT=20000
- SMOKE_TOTAL_TIMEOUT=120000
- CI_TEST=smoke
services:
- mongodb
- rabbitmq
script:
- yarn run provision
- yarn run citest
- name: "Scenario Tests"
env:
- SMOKE_START_TIMEOUT=20000
- SMOKE_TOTAL_TIMEOUT=120000
- CI_TEST=scenario
services:
- mongodb
- rabbitmq
script:
- yarn run provision
- travis_retry yarn run citest
- name: "Performance Tests"
env:
- PERFORMANCE_START_TIMEOUT=20000
- PERFORMANCE_TOTAL_TIMEOUT=120000
- CI_TEST=performance
services:
- mongodb
- rabbitmq
script:
- yarn run provision
- yarn run citest
- name: "Java Demo"
language: java
jdk: openjdk11
env:
- CI_TEST=java
services:
- mongodb
- rabbitmq
script:
- yarn run provision
- yarn run citest
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=