forked from flexn-io/renative
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
98 lines (98 loc) · 2.74 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
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: xcode11.3
install: skip
script: ci/run_osx_ios.sh
- 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
- cd packages/rnv
script: yarn test:integration
- name: "RNV 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
- 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: "RNV iOS: Integration"
language: node_js
cache:
directories:
- node_modules
node_js: 13.13.0
os: osx
osx_image: xcode11.3
install:
- yarn bootstrap
- cd packages/rnv
script: yarn test:ios
- 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
- cd packages/rnv
script: npm run test:setup
- 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
script: yarn lint