-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
executable file
·42 lines (34 loc) · 1.05 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
language: objective-c
osx_image: xcode8
env:
- PLATFORM=android
- PLATFORM=ios
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
ccache: true
cocoapods: true
directories:
- node_modules
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- chmod +x fastlane/travis-build-script.sh
- chmod +x fastlane/travis-deploy-script.sh
- gem install xcov --no-ri --no-rdoc --no-document
- gem update fastlane --no-ri --no-rdoc --no-document
- gem install badge --no-ri --no-rdoc --no-document
install:
- brew install gradle flow watchman xctool android-sdk imagemagick
- export ANDROID_HOME=/usr/local/opt/android-sdk
- echo y | android update sdk -u --all --filter platform-tools,android-23,addon-google_apis-google-23,build-tools-23.0.1,extra-android-m2repository
- nvm install 6.2.2
- nvm use --delete-prefix 6.2.2
- npm -v
- node -v
- npm cache clean
- npm install
script: fastlane/travis-build-script.sh
after_success: fastlane/travis-deploy-script.sh
notifications:
email: false