-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
49 lines (49 loc) · 1.51 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
jobs:
include:
- stage: test
sudo: false
language: javascript
install: npm install
script: npm run test:unit:js && npm run test:smoke:typescript
- stage: build android
language: android
sudo: false
android:
components:
- tools
- platform-tools
- build-tools-26.0.2
- android-26
- extra-google-m2repository
- extra-android-m2repository
env:
- ANDROID_TARGET=android-26 ANDROID_ABI=armeabi-v7a
- ADB-INSTALL_TIMEOUT=5
before_install:
- yes | sdkmanager "platforms;android-26"
- yes | sdkmanager "platforms;android-23"
install:
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
- sudo apt-get install -y nodejs
script:
- cd examples/plain
- npm install
- ./node_modules/.bin/react-native link
- cd android
- ./gradlew assembleRelease
licenses:
-
- stage: build cocoa
language: objective-c
osx-image: xcode7.3
env: SDK=macosx10.11 BUILD_OSX=9
xcode_project: ./cocoa/BugsnagReactNative.xcodeproj
xcode_scheme: BugsnagReactNative
install:
- brew install node
script:
- cd examples/plain
- npm install
- ./node_modules/.bin/react-native link
- cd ios
- xcodebuild -project BugsnagReactNativeExample.xcodeproj -scheme BugsnagReactNativeExample build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -quiet