-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.recink.yml
92 lines (91 loc) · 2.7 KB
/
.recink.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
---
$:
preprocess:
'$.coverage.compare.storage.options.1.region': 'eval'
'$.coverage.compare.storage.options.1.accessKeyId': 'eval'
'$.coverage.compare.storage.options.1.secretAccessKey': 'eval'
'$.cache.options.1.region': 'eval'
'$.cache.options.1.accessKeyId': 'eval'
'$.cache.options.1.secretAccessKey': 'eval'
'$.codeclimate.token': 'eval'
'$.snyk.token': 'eval'
'$.e2e.wait.uri.0': 'eval'
'$.pagespeed.uri': 'eval'
cache:
driver: 's3'
options:
- 's3://travis-metadata/cache/AdTechMedia/adtechmedia-website'
-
region: 'process.env.AWS_DEFAULT_REGION'
accessKeyId: 'process.env.AWS_ACCESS_KEY_ID'
secretAccessKey: 'process.env.AWS_SECRET_ACCESS_KEY'
npm:
scripts: []
# - 'compile-travis'
dependencies:
chai: 'latest'
emit:
pattern:
- /^src.es6\/lib\/.+\.js$/i
- /^tests?\/.+\.js$/i
ignore:
- /^(.*\/)?node_modules(\/?$)?/i
- /^(.*\/)?vendor(\/?$)?/i
test:
mocha:
options:
ui: 'bdd'
reporter: 'spec'
pattern:
- /.+\.spec\.js$/i
ignore: ~
e2e:
pattern:
- /.+\.e2e\.js$/i
ignore: []
browsers:
- puppeteer
# - chrome # Browsers to run the tests against
# - firefox
# - nightmare
# - safari
wait:
interval: 500 # Interval of running uri checks
timeout: 60000 # Timeout to wait for uri's available
uri: # uri's to wait before start running test cases
- 'process.env.DEPLOY_HOST'
coverage:
pattern:
- /.+\.js$/i
ignore:
- /.+\.cfg\.js$/i
- /.+\.po\.js$/i
- /.+\.e2e\.js$/i
- /.+\.spec\.js$/i
- /^(.*\/)?node_modules(\/?$)?/i
reporters:
text-summary: ~
compare:
negative-delta: 1
storage:
driver: 's3'
options:
- 's3://travis-metadata/coverage/AdTechMedia/adtechmedia-website'
-
region: 'process.env.AWS_DEFAULT_REGION'
accessKeyId: 'process.env.AWS_ACCESS_KEY_ID'
secretAccessKey: 'process.env.AWS_SECRET_ACCESS_KEY'
codeclimate:
token: 'process.env.CODECLIMATE_REPO_TOKEN'
snyk:
token: 'process.env.SNYK_API_TOKEN'
pagespeed:
uri: |
['challenges', 'solutions', 'api', 'team', 'contact'].map(item => `${process.env.DEPLOY_HOST}/${item}`)
### Add other modules here...
#email-send:
# root: src/adtechmedia-website/backend/src/email/send
website:
root: test/e2e
dependencies:
chance: 'latest'