mirror of
https://github.com/zhigang1992/react-native-wechat.git
synced 2026-04-28 12:24:54 +08:00
add travis-ci
This commit is contained in:
43
.travis.yml
Normal file
43
.travis.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "7.1"
|
||||
sudo: false
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.yarn-cache
|
||||
- $HOME/.gradle/caches/
|
||||
- $HOME/.gradle/wrapper/
|
||||
env:
|
||||
- NODE_ENV='test'
|
||||
script:
|
||||
- npm test
|
||||
- npm run bundle:ios
|
||||
matrix:
|
||||
include:
|
||||
- language: android
|
||||
os: linux
|
||||
jdk: oraclejdk8
|
||||
before_cache:
|
||||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
||||
sudo: true
|
||||
node_js: false
|
||||
install:
|
||||
- npm install
|
||||
before_install:
|
||||
- nvm install 7
|
||||
- node --version
|
||||
android:
|
||||
components:
|
||||
- android-23
|
||||
- build-tools-23.0.1
|
||||
- language: objective-c
|
||||
os: osx
|
||||
osx_image: xcode8.2
|
||||
node_js: false
|
||||
xcode_project: ios/RCTWeChat.xcodeproj
|
||||
xcode_scheme: ios/RCTWeChat
|
||||
script:
|
||||
- cd ios
|
||||
- xcodebuild -scheme RCTWeChat -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
|
||||
- travis_retry xctool run-tests -scheme RCTWeChat -sdk iphonesimulator -launch-timeout 90 ONLY_ACTIVE_ARCH=NO
|
||||
21
README.md
21
README.md
@@ -1,4 +1,6 @@
|
||||
 React-Native Bridge
|
||||

|
||||
|
||||
# React-Native-Wechat
|
||||
|
||||
## Table of Contents
|
||||
|
||||
@@ -40,6 +42,7 @@ And [react-native-wechat] has the following tracking data in open source world:
|
||||
| NPM | [![NPM version][npm-image]][npm-url] |
|
||||
| Dependency | [![Dependency Status][david-image]][david-url] |
|
||||
| Downloads | [![Downloads][downloads-image]][downloads-url] |
|
||||
| Build | [](travis-url) |
|
||||
|
||||
## Linking Steps
|
||||
|
||||
@@ -507,22 +510,20 @@ $ npm install react-native-wechat --save
|
||||
|
||||
## License
|
||||
|
||||
MIT @ [WeFlex], Inc
|
||||
MIT
|
||||
|
||||
[react-native-wechat]: https://github.com/weflex/react-native-wechat
|
||||
[react-native-wechat]: https://github.com/yorkie/react-native-wechat
|
||||
[npm-image]: https://img.shields.io/npm/v/react-native-wechat.svg?style=flat-square
|
||||
[npm-url]: https://npmjs.org/package/react-native-wechat
|
||||
[travis-image]: https://img.shields.io/travis/weflex/react-native-wechat.svg?style=flat-square
|
||||
[travis-url]: https://travis-ci.org/weflex/react-native-wechat
|
||||
[david-image]: http://img.shields.io/david/weflex/react-native-wechat.svg?style=flat-square
|
||||
[david-url]: https://david-dm.org/weflex/react-native-wechat
|
||||
[travis-image]: https://travis-ci.org/yorkie/react-native-wechat.svg?branch=master
|
||||
[travis-url]: https://travis-ci.org/yorkie/react-native-wechat
|
||||
[david-image]: http://img.shields.io/david/yorkie/react-native-wechat.svg?style=flat-square
|
||||
[david-url]: https://david-dm.org/yorkie/react-native-wechat
|
||||
[downloads-image]: http://img.shields.io/npm/dm/react-native-wechat.svg?style=flat-square
|
||||
[downloads-url]: https://npmjs.org/package/react-native-wechat
|
||||
[Deng Yun]: https://github.com/tdzl2003
|
||||
[Xing Zhen]: https://github.com/xing-zheng
|
||||
[Yorkie Liu]: https://github.com/yorkie
|
||||
[WeFlex]: https://github.com/weflex
|
||||
[react-native-cn]: https://github.com/reactnativecn
|
||||
[WeChat SDK]: https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=1417674108&token=&lang=zh_CN
|
||||
[Linking Libraries iOS Guidance]:
|
||||
https://developer.apple.com/library/ios/recipes/xcode_help-project_editor/Articles/AddingaLibrarytoaTarget.html
|
||||
[Linking Libraries iOS Guidance]: https://developer.apple.com/library/ios/recipes/xcode_help-project_editor/Articles/AddingaLibrarytoaTarget.html
|
||||
|
||||
Reference in New Issue
Block a user