This repository has been archived by the owner on Sep 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
/
.travis.yml
91 lines (91 loc) · 2.43 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
jobs:
include:
- stage: test
language: node_js
node_js:
- "10"
install: npm install
script: npm run test:lint:js && npm run test:unit:js && npm run test:smoke:typescript
- stage: build
language: android
dist: trusty
android:
components:
- tools
- platform-tools
- build-tools-26.0.2
- android-26
- extra-google-m2repository
- extra-android-m2repository
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
before_install:
- yes | sdkmanager "platforms;android-26"
- yes | sdkmanager "platforms;android-23"
- nvm install 8
before_script:
- npm install
- npm install babel-cli
- PATH="node_modules/bin:$PATH" && npm pack
script:
- cd examples/plain
- npm add ../../bugsnag-react-native-*.tgz
- npm install
- ./node_modules/.bin/react-native link
- cd android
- ./gradlew lint checkstyle assembleRelease
licenses:
-
- stage: build
language: objective-c
env:
- REACT_NATIVE_VERSION=0.53.0
name: React Native 0.53.0
os: osx
osx_image: xcode10
cache:
- bundler
install:
- npm install
- npm install babel-cli
before_script:
- PATH="node_modules/bin:$PATH" && npm pack
script:
- ./test/test-react-native-link-build.sh
- stage: build
language: objective-c
env:
- REACT_NATIVE_VERSION=0.59.10
name: React Native 0.59.10
os: osx
osx_image: xcode10
cache:
- bundler
install:
- npm install
- npm install babel-cli
before_script:
- PATH="node_modules/bin:$PATH" && npm pack
script:
- ./test/test-react-native-link-build.sh
- stage: build
language: objective-c
name: React Native 0.61.5
os: osx
osx_image: xcode11
cache:
- bundler
install:
- npm install
- npm install babel-cli
- gem install cocoapods
before_script:
- PATH="node_modules/bin:$PATH" && npm pack
script:
- ./test/test-react-native-pod-build.sh