forked from hieuvp/react-native-fingerprint-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 968 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
39
env:
- NODE_ENV='test'
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
matrix:
include:
- language: objective-c
os: osx
xcode_sdk: iphonesimulator12.2
osx_image: xcode10.2
sudo: true
before_install:
- brew install node@10
- cd examples && make install # install node modules to get podfiles
install:
- cd ios && pod install && cd ..
script:
- make test-ios
- language: android
android:
components:
- tools
- platform-tools
- build-tools-29.0.2
- android-29
sudo: true
before_install:
- nvm install --lts
install: true
script:
- cd examples && make test-android
- language: node_js
node_js: lts/*
sudo: false
install:
- cd examples && npm ci
script: react-native bundle --entry-file index.js --bundle-output main.jsbundle