forked from yorkie/react-native-wechat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (38 loc) · 870 Bytes
/
.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
language: node_js
node_js:
- "7.1"
sudo: false
cache:
directories:
- $HOME/.yarn-cache
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
- NODE_ENV='test'
install:
- npm install
script:
- npm test
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/
node_js: false
- nvm install 7
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