-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
95 lines (88 loc) · 3.05 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
os:
- osx
- linux
env:
- JS_FRAMEWORK=angular-v1.6.3-keyed
- JS_FRAMEWORK=angular-v4.1.2-keyed
- JS_FRAMEWORK=angular-v4.1.2-non-keyed
- JS_FRAMEWORK=aurelia-v1.1.2
- JS_FRAMEWORK=binding.scala-v10.0.1
- JS_FRAMEWORK=bobril-v7.1.2
- JS_FRAMEWORK=choo-v5.4.0
- JS_FRAMEWORK=cyclejs-dom-v17.1.0
- JS_FRAMEWORK=datum-v0.8.0
- JS_FRAMEWORK=dio-v7.0.1-keyed
- JS_FRAMEWORK=dio-v7.0.1-non-keyed
- JS_FRAMEWORK=domvm-v3.0.1-keyed
- JS_FRAMEWORK=domvm-v3.0.1-non-keyed
- JS_FRAMEWORK=elm-v0.18.0
- JS_FRAMEWORK=ember-v2.13.0
- JS_FRAMEWORK=glimmer-v0.3.10
- JS_FRAMEWORK=hyperapp-v0.9.1
- JS_FRAMEWORK=inferno-v3.1.2-keyed
- JS_FRAMEWORK=inferno-v3.1.2-non-keyed
- JS_FRAMEWORK=ivi-v0.7.0
- JS_FRAMEWORK=kivi-v1.0.0-rc2
- JS_FRAMEWORK=knockout-v3.4.1
- JS_FRAMEWORK=marionette-v3.3.1
- JS_FRAMEWORK=marko-v4.3.0
- JS_FRAMEWORK=mithril-v1.1.1
- JS_FRAMEWORK=nx-v1.0.0-beta.2.0.1-keyed
- JS_FRAMEWORK=nx-v1.0.0-beta.2.0.1-non-keyed
- JS_FRAMEWORK=pico-dom-v1.0.0
- JS_FRAMEWORK=plastiq-v1.33.0
- JS_FRAMEWORK=polymer-v2.0.0
- JS_FRAMEWORK=preact-v7.1.0
- JS_FRAMEWORK=ractive-v0.8.12-keyed
- JS_FRAMEWORK=ractive-v0.8.12-non-keyed
- JS_FRAMEWORK=ractive-edge-keyed
- JS_FRAMEWORK=ractive-edge-non-keyed
- JS_FRAMEWORK=react-lite-v0.15.30
- JS_FRAMEWORK=react-v15.5.4-easy-state-v1.0.3
- JS_FRAMEWORK=react-v15.5.4-keyed
- JS_FRAMEWORK=react-v15.5.4-mobX-v3.1.9
- JS_FRAMEWORK=react-v15.5.4-non-keyed
- JS_FRAMEWORK=react-v15.5.4-redux-v3.6.0
- JS_FRAMEWORK=react-v16.alpha.13-keyed
- JS_FRAMEWORK=redom-v3.0.2-keyed
- JS_FRAMEWORK=redom-v3.0.2-non-keyed
- JS_FRAMEWORK=riot-v3.5.0
- JS_FRAMEWORK=rx-domh-v0.0.2-rxjs-v5.3.0
- JS_FRAMEWORK=simulacra-v2.1.1
- JS_FRAMEWORK=slim-js-v2.9.1
- JS_FRAMEWORK=stem-v0.2.70
- JS_FRAMEWORK=surplus-v0.4.0-keyed
- JS_FRAMEWORK=surplus-v0.4.0-nonkeyed
- JS_FRAMEWORK=svelte-v1.20.2-keyed
- JS_FRAMEWORK=svelte-v1.20.2-non-keyed
- JS_FRAMEWORK=tsers-v1.0.0
- JS_FRAMEWORK=vanillajs-keyed
- JS_FRAMEWORK=vanillajs-non-keyed
- JS_FRAMEWORK=vidom-v0.9.8
- JS_FRAMEWORK=vue-v2.3.3-keyed
- JS_FRAMEWORK=vue-v2.3.3-non-keyed
language : node_js
node_js : 7
addons:
chrome: beta
install: true
# https://docs.travis-ci.com/user/gui-and-headless-browsers/#Starting-a-Web-Server
# https://github.com/travis-ci/travis-ci/issues/7313#issuecomment-279914149
before_script:
- export DISPLAY=:99.0
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then (sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok)& fi
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then (sh -e /etc/init.d/xvfb start) fi
- sleep 3 # give xvfb some time to start
script:
- npm install --ignore-scripts
- npm start & # start a Web server
- sleep 3 # give Web server some time to bind to sockets, etc
- cd $JS_FRAMEWORK
- yarn
- npm run build-prod
- cd ../webdriver-ts
- yarn
- npm run build-prod
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then (npm run selenium -- --framework $JS_FRAMEWORK --count 1) fi
git:
depth: 700