-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (48 loc) · 2.82 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
language: objective-c
osx_image: xcode11.2
before_install:
- brew tap AdoptOpenJDK/openjdk
- brew cask install adoptopenjdk8
- ls /Library/Java/JavaVirtualMachines/
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
- wget http://dl.google.com/android/android-sdk_r24.4.1-macosx.zip
- unzip android-sdk_r24.4.1-macosx.zip
- export ANDROID_HOME=$PWD/android-sdk-macosx
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-28 --no-ui --force > /dev/null
- echo yes | android update sdk --filter build-tools-28.0.3 --all --no-ui --force > /dev/null
- nvm install v12.0.0
- nvm use v12.0.0
- sudo pip install --upgrade pip
- sudo pip install six
install:
- brew install carthage
- echo no | npm install -g [email protected]
- tns usage-reporting disable
- tns error-reporting disable
before_script:
- carthage update
- rm -rf src/platforms/ios/TestFairySDK.*
- cp -R Carthage/Build/iOS/TestFairy.framework* src/platforms/ios/.
- rm -rf Carthage
script:
- cd src && npm i && npm run tsc && cd ../demo
- travis_wait travis_retry tns build ios
- travis_wait travis_retry tns build android
before_deploy:
- cd ../publish
- sh pack.sh
- cd package
deploy:
provider: npm
email: [email protected]
skip_cleanup: true
api_key:
secure: K3pG4EXIFT3172mq1EUIc15Cv2ol6g7b7bUyyIjoxHvKMSKtTZtqy+8ZzOX0iee6RQGqBu8HxMw19Z4COcQUeR9udB/+gqKRY9FSkVCVbzYCQz/sJ/pgwOXDL8D3L+EDRf/deo3BxXjOZQrVAzKLN+Wvm+lL65d1QZaIt+Ct0TseAToSw44PwayokKgfvhM0YQUP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