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

Update travis config

parent 38ecd445
jobs: jobs:
include: include:
- stage: test - stage: "test js"
language: node_js language: node_js
node_js: node node_js: node
- stage: test - stage: "build example"
language: android language: android
jdk: oraclejdk8 jdk: oraclejdk8
android: android:
...@@ -19,8 +19,10 @@ jobs: ...@@ -19,8 +19,10 @@ jobs:
- npm i - npm i
- cd android - cd android
- ./gradlew assembleDebug - ./gradlew assembleDebug
- ./gradlew assembleRelease
- ls -l app/build/outputs/apk
- stage: test - stage: "build example"
language: objective-c language: objective-c
osx_image: xcode9.1 osx_image: xcode9.1
script: script:
...@@ -29,7 +31,7 @@ jobs: ...@@ -29,7 +31,7 @@ jobs:
- npm i - npm i
- cd ios - cd ios
- pod install - pod install
- xcodebuild -workspace RNAMap3D.xcworkspace -scheme RNAMap3D -sdk iphonesimulator - xcodebuild -workspace RNAMap3D.xcworkspace -scheme RNAMap3D -sdk iphonesimulator -quiet
cache: cache:
directories: directories:
...@@ -37,3 +39,5 @@ cache: ...@@ -37,3 +39,5 @@ cache:
- example/node_modules - example/node_modules
- ~/.gradle/caches - ~/.gradle/caches
- ~/.gradle/wrappers - ~/.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。 react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS。
...@@ -146,7 +147,7 @@ import MapView from 'react-native-amap3d' ...@@ -146,7 +147,7 @@ import MapView from 'react-native-amap3d'
</Marker> </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 { ...@@ -25,7 +25,7 @@ android {
} }
dependencies { 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 'com.amap.api:navi-3dmap:5.3.0_3dmap5.3.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" 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