Unverified Commit 38ecd445 authored by 7c00's avatar 7c00 Committed by GitHub

Add travis config

parent 768c806d
jobs:
include:
- stage: test
language: node_js
node_js: node
- stage: test
language: android
jdk: oraclejdk8
android:
components:
- build-tools-23.0.1
- android-23
- extra-android-m2repository
- extra-android-support
script:
- nvm install node
- cd example
- npm i
- cd android
- ./gradlew assembleDebug
- stage: test
language: objective-c
osx_image: xcode9.1
script:
- nvm install node
- cd example
- npm i
- cd ios
- pod install
- xcodebuild -workspace RNAMap3D.xcworkspace -scheme RNAMap3D -sdk iphonesimulator
cache:
directories:
- node_modules
- example/node_modules
- ~/.gradle/caches
- ~/.gradle/wrappers
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"url": "https://github.com/qiuxiang/react-native-amap3d" "url": "https://github.com/qiuxiang/react-native-amap3d"
}, },
"scripts": { "scripts": {
"flow": "flow" "test": "flow"
}, },
"peerDependencies": { "peerDependencies": {
"react": ">=16", "react": ">=16",
......
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