forked from flexn-io/renative
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
173 lines (173 loc) · 5.1 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
env:
global:
- NODE_OPTIONS=--max_old_space_size=8192
- ACCOUNT_NAME=rnv
- REPO_NAME=pavjacko/renative
- PROJECT_NAME=renative
jobs:
include:
- name: "HelloWorld iOS: E2E"
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
os: osx
osx_image: xcode12
install: skip
script: ci/run_osx_ios.sh
- name: "HelloWorld Apple TV: Build"
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
os: osx
osx_image: xcode12
install: skip
script: ci/run_osx_tvos.sh
- name: "RNV Node: Unit Tests"
dist: trusty
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
install:
- rm -rf ~/.yarn/bin/yarn || true && npm uninstall --global yarn; npm install --global yarn; yarn --version
- yarn bootstrap-clean
- cd packages/rnv
script: npm run test
- name: "RNV Node: Lint"
dist: trusty
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
install:
- rm -rf ~/.yarn/bin/yarn || true && npm uninstall --global yarn; npm install --global yarn; yarn --version
- yarn bootstrap-clean
script: yarn lint
- name: "RNV Android: Integration"
dist: trusty
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
install:
- rm -rf ~/.yarn/bin/yarn || true && npm uninstall --global yarn; npm install --global yarn; yarn --version
- yarn bootstrap-clean
- cd packages/rnv
script: yarn test:integration:linux
- name: "HelloWorld Android: Build"
language: android
dist: trusty
cache:
directories:
- node_modules
- $HOME/.gradle
sudo: required
jdk: oraclejdk8
android:
components:
- tools-26.1.1
- build-tools-28.0.3
- extra-google-m2repository
- extra-android-m2repository
- platform-tools-28.0.2
- android-28
- sys-img-x86-android-28
install:
- nvm install 13.13.0
- echo yes | sdkmanager "platforms;android-28"
- rm -rf ~/.yarn/bin/yarn || true && npm uninstall --global yarn; npm install --global yarn; yarn --version
script: ci/run_linux_android.sh android
- name: "HelloWorld Android TV: Build"
language: android
dist: trusty
cache:
directories:
- node_modules
- $HOME/.gradle
sudo: required
jdk: oraclejdk8
android:
components:
- tools-26.1.1
- build-tools-28.0.3
- extra-google-m2repository
- extra-android-m2repository
- platform-tools-28.0.2
- android-28
- sys-img-x86-android-28
install:
- nvm install 13.13.0
- echo yes | sdkmanager "platforms;android-28"
- rm -rf ~/.yarn/bin/yarn || true && npm uninstall --global yarn; npm install --global yarn; yarn --version
script: ci/run_linux_android.sh androidtv
- name: "HelloWorld Web: E2E"
dist: trusty
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
install:
- rm -rf ~/.yarn/bin/yarn || true && npm uninstall --global yarn; npm install --global yarn; yarn --version
script: ci/run_linux_web.sh
- name: "HelloWorld Web (Next): E2E"
dist: trusty
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
install:
- rm -rf ~/.yarn/bin/yarn || true && npm uninstall --global yarn; npm install --global yarn; yarn --version
script:
- yarn bootstrap-clean
- cd packages/app
- npx rnv template apply --template renative-template-hello-world -c helloworld --ci --mono
- yarn e2e-web-next
# - name: "HelloWorld Tizen: Build"
# language: node_js
# cache:
# directories:
# - node_modules
# node_js: 13.13.0
# os: osx
# osx_image: xcode12
# install: skip
# script:
# - yarn bootstrap-clean
# - cd packages/app
# - npx rnv template apply --template renative-template-hello-world -c helloworld --ci --mono
# - npx rnv build -p tizen -c helloworld -r --mono --ci
- name: "HelloWorld macOS: Build"
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
os: osx
osx_image: xcode12
install: skip
script:
- yarn bootstrap-clean
- cd packages/app
- npx rnv template apply --template renative-template-hello-world -c helloworld --ci --mono
- npx rnv build -p macos -c helloworld -r --mono --ci
- name: "RNV iOS: Integration"
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
os: osx
osx_image: xcode12
install:
- yarn bootstrap-clean
- cd packages/rnv
script: yarn test:integration:osx