-
Notifications
You must be signed in to change notification settings - Fork 86
/
.travis.yml
35 lines (35 loc) · 830 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
language: node_js
node_js:
- '8'
cache:
directories:
- $HOME/.yarn-cache
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- node_modules
before_install:
- nvm install 8
install:
- npm install --dev
matrix:
include:
- language: objective-c
os: osx
script:
- cd ios && xcodebuild -scheme RCTAlipay -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -derivedDataPath build
- language: android
os: linux
jdk: oraclejdk8
android:
components:
- build-tools-23.0.1
- android-23
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
script:
- cd android && ./gradlew build
- language: node_js
os: linux
script:
- npm test