Commit 9e2c6f0e authored by 7c00's avatar 7c00

Update travis config

parent 38ecd445
jobs:
include:
- stage: test
- stage: "test js"
language: node_js
node_js: node
- stage: test
- stage: "build example"
language: android
jdk: oraclejdk8
android:
......@@ -19,8 +19,10 @@ jobs:
- npm i
- cd android
- ./gradlew assembleDebug
- ./gradlew assembleRelease
- ls -l app/build/outputs/apk
- stage: test
- stage: "build example"
language: objective-c
osx_image: xcode9.1
script:
......@@ -29,7 +31,7 @@ jobs:
- npm i
- cd ios
- pod install
- xcodebuild -workspace RNAMap3D.xcworkspace -scheme RNAMap3D -sdk iphonesimulator
- xcodebuild -workspace RNAMap3D.xcworkspace -scheme RNAMap3D -sdk iphonesimulator -quiet
cache:
directories:
......@@ -37,3 +39,5 @@ cache:
- example/node_modules
- ~/.gradle/caches
- ~/.gradle/wrappers
- ~/.rncache
- ~/Library/Caches/CocoaPods/Pods/
# react-native-amap3d [![npm version](https://img.shields.io/npm/v/react-native-amap3d.svg)](https://www.npmjs.com/package/react-native-amap3d)
# react-native-amap3d [![npm version](https://img.shields.io/npm/v/react-native-amap3d.svg)](https://www.npmjs.com/package/react-native-amap3d)
[![build status](https://travis-ci.org/qiuxiang/react-native-amap3d.svg?branch=master)](https://travis-ci.org/qiuxiang/react-native-amap3d)
react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS。
......@@ -146,7 +147,7 @@ import MapView from 'react-native-amap3d'
</Marker>
```
更多示例请参考[示例项目](https://github.com/qiuxiang/react-native-amap3d/tree/v0.7.3/example)
更多示例请参考[示例项目](https://github.com/qiuxiang/react-native-amap3d/tree/master/example)
## 接口
......
......@@ -25,7 +25,7 @@ android {
}
dependencies {
compile 'com.facebook.react:react-native:+'
provided 'com.facebook.react:react-native:+'
compile 'com.amap.api:navi-3dmap:5.3.0_3dmap5.3.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment