forked from tastejs/todomvc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
229 lines (224 loc) · 5.58 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# You must sign into travis-ci.org and set the commit hook on your project for travis to
# run on your project. The secure: variable must be generated by running `travis encrypt`
# on a github oauth key that you can generate using curl.
sudo: false
language: node_js
node_js:
- 10.13
# if using Ubuntu 16 need this library
# https://github.com/cypress-io/cypress-documentation/pull/1647
addons:
apt:
packages:
- libgconf-2-4
notifications:
irc: 'irc.freenode.org#tastejs'
cache:
directories:
- tooling/node_modules
- tests/node_modules
- node_modules
env:
global:
# GH_OAUTH_TOKEN is the oauth token generated as described at
# https://help.github.com/articles/creating-an-oauth-token-for-command-line-use
#
# curl -u 'username' -d '{"scopes":["repo"],"note":"push to gh-pages from travis"}' https://api.github.com/authorizations
#
# It must be encrypted using the travis gem
# http://about.travis-ci.org/docs/user/build-configuration/#Secure-environment-variables
#
# travis encrypt GH_OAUTH_TOKEN=XXXXXXXXXXXXXXX
#
# User specific env variables
- secure: 'fHgfjMpYuliwMr2QLnjYZExIViNrxprf9dhXRBLZ6P9Hz7P6m1BMYrI/xEG8X+fFbCi0+n3AXh8SEMHi9ou/Pty/cx12z4w/z3B2BHMxh4XBwpZHs+AB4IXkLiwwWoP4QFy4vTipgYnMDMq9CRhlRbhZEpenQBmaTEc472By1uM='
- GH_OWNER: tastejs
- GH_PROJECT_NAME: todomvc
- CHROME_PATH: '/home/travis/build/tastejs/todomvc/chrome-linux/chrome'
#update npm to latest stable version
before_install:
- npm install --global npm@6.10.0
# common build steps for each test job
defaults: &defaults
script:
- echo Testing $CYPRESS_framework
- $(npm bin)/print-env TRAVIS
- npm run test
jobs:
include:
# install NPM dependencies before each test job
- stage: npm ci
script:
- npm ci
- $(npm bin)/print-env TRAVIS
# define a separate script for each "examples/*" folder
# this will run it in a separate job on TravisCI
# all these jobs belong to same stage "test" thus will run in parallel
- stage: test
env:
- CYPRESS_framework=angular-dart
<<: *defaults
- stage: test
env:
- CYPRESS_framework=angular2
<<: *defaults
- stage: test
env:
- CYPRESS_framework=angularjs
<<: *defaults
- stage: test
env:
- CYPRESS_framework=aurelia
<<: *defaults
- stage: test
env:
- CYPRESS_framework=backbone
<<: *defaults
- stage: test
env:
- CYPRESS_framework=backbone_marionette
<<: *defaults
- stage: test
env:
- CYPRESS_framework=backbone_require
<<: *defaults
- stage: test
env:
- CYPRESS_framework=binding-scala
<<: *defaults
- stage: test
env:
- CYPRESS_framework=canjs
<<: *defaults
- stage: test
env:
- CYPRESS_framework=canjs_require
<<: *defaults
- stage: test
env:
- CYPRESS_framework=closure
<<: *defaults
- stage: test
env:
- CYPRESS_framework=dijon
<<: *defaults
- stage: test
env:
- CYPRESS_framework=dojo
<<: *defaults
- stage: test
env:
- CYPRESS_framework=duel
<<: *defaults
- stage: test
env:
- CYPRESS_framework=emberjs
<<: *defaults
- stage: test
env:
- CYPRESS_framework=enyo_backbone
<<: *defaults
- stage: test
env:
- CYPRESS_framework=exoskeleton
<<: *defaults
- stage: test
env:
- CYPRESS_framework=jquery
<<: *defaults
- stage: test
env:
- CYPRESS_framework=js_of_ocaml
<<: *defaults
- stage: test
env:
- CYPRESS_framework=jsblocks
<<: *defaults
- stage: test
env:
- CYPRESS_framework=knockback
<<: *defaults
- stage: test
env:
- CYPRESS_framework=knockoutjs
<<: *defaults
- stage: test
env:
- CYPRESS_framework=knockoutjs_require
<<: *defaults
- stage: test
env:
- CYPRESS_framework=lavaca_require
<<: *defaults
- stage: test
env:
- CYPRESS_framework=mithril
<<: *defaults
- stage: test
env:
- CYPRESS_framework=polymer
<<: *defaults
- stage: test
env:
- CYPRESS_framework=ractive
<<: *defaults
- stage: test
env:
- CYPRESS_framework=react
<<: *defaults
- stage: test
env:
- CYPRESS_framework=react-alt
<<: *defaults
- stage: test
env:
- CYPRESS_framework=react-redux
<<: *defaults
- stage: test
env:
- CYPRESS_framework=reagent
<<: *defaults
- stage: test
env:
- CYPRESS_framework=riotjs
<<: *defaults
- stage: test
env:
- CYPRESS_framework=svelte
<<: *defaults
- stage: test
env:
- CYPRESS_framework=typescript-angular
<<: *defaults
- stage: test
env:
- CYPRESS_framework=typescript-backbone
<<: *defaults
- stage: test
env:
- CYPRESS_framework=typescript-react
<<: *defaults
- stage: test
env:
- CYPRESS_framework=vanilla-es6
<<: *defaults
- stage: test
env:
- CYPRESS_framework=vanillajs
<<: *defaults
- stage: test
env:
- CYPRESS_framework=preact
<<: *defaults
- stage: test
env:
- CYPRESS_framework=vue
<<: *defaults
- stage: test
env:
- CYPRESS_framework=lit
<<: *defaults
- stage: test
env:
- CYPRESS_framework=web-components
<<: *defaults