forked from negativetwelve/react-native-ux-cam
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
56 lines (56 loc) · 1.45 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
matrix:
include:
- language: android
os: linux
jdk: oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
bundler: true
yarn: true
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
android:
components:
- build-tools-23.0.0
- build-tools-23.0.1
- android-23
- extra-android-m2repository
- extra-google-google_play_services
- extra-google-m2repository
- addon-google_apis-google-16
sudo: required
before_install:
- rvm install ruby-2.3.0
- nvm install 8
install:
- cd examples/UXCamExample
- yarn
- cd android
- bundle install
script:
- bundle exec fastlane test
- language: objective-c
os: osx
osx_image: xcode8.3
cache:
bundler: true
cocoapods: true
yarn: true
directories:
- $HOME/Library/Caches/Homebrew
before_install:
- rvm install ruby-2.3.0
- gem update --system 2.7.6
- nvm install 8
- brew install yarn --ignore-dependencies
install:
- cd examples/UXCamExample
- yarn
- cd ios
- bundle install
script:
- bundle exec fastlane test