This repository was archived by the owner on Feb 7, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy path.travis.yml
More file actions
65 lines (63 loc) · 3.23 KB
/
.travis.yml
File metadata and controls
65 lines (63 loc) · 3.23 KB
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
57
58
59
60
61
62
63
64
65
branches:
only:
- master
matrix:
include:
- stage: "Lint"
language: node_js
os: linux
node_js: "8"
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint
- stage: "WebPack and Build"
os: osx
env:
- Platform="iOS"
- Xcode="9.2"
- Webpack="true"
osx_image: xcode9.2
language: node_js
node_js: "8"
jdk: oraclejdk8
script: cd demo && npm run build.plugin && npm i && tns build ios --bundle --env.uglify
- os: linux
language: android
env:
- Platform="Android"
- AndroidSDK="26"
- Webpack="true"
jdk: oraclejdk8
before_install: nvm install 8.11.4
script: >
echo { \"project_info\": { \"project_number\": \"424050927453\", \"firebase_url\": \"https://pptest-53916.firebaseio.com\", \"project_id\": \"pptest-53916\", \"storage_bucket\": \"pptest-53916.appspot.com\" }, \"client\": [ { \"client_info\": { \"mobilesdk_app_id\": \"1:424050927453:android:21d2dd8987e1e3d1\", \"android_client_info\": { \"package_name\": \"org.nativescript.ppTest\" } }, \"oauth_client\": [ { \"client_id\": \"424050927453-o7gv6bcmknujjoaaoa5r4d452cutb9jf.apps.googleusercontent.com\", \"client_type\": 3 } ], \"api_key\": [ { \"current_key\": \"AIzaSyDr3fqH7Z8-vhBNpAges_KFTA7oOoylGvU\" } ], \"services\": { \"analytics_service\": { \"status\": 1 }, \"appinvite_service\": { \"status\": 1, \"other_platform_oauth_client\": [] }, \"ads_service\": { \"status\": 2 } } } ], \"configuration_version\": \"1\"} > demo/app/App_Resources/Android/google-services.json &&
cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify
- language: android
env:
- Platform="Android"
- AndroidSDK="26"
os: linux
jdk: oraclejdk8
before_install: nvm install 8.11.4
script: >
echo { \"project_info\": { \"project_number\": \"424050927453\", \"firebase_url\": \"https://pptest-53916.firebaseio.com\", \"project_id\": \"pptest-53916\", \"storage_bucket\": \"pptest-53916.appspot.com\" }, \"client\": [ { \"client_info\": { \"mobilesdk_app_id\": \"1:424050927453:android:21d2dd8987e1e3d1\", \"android_client_info\": { \"package_name\": \"org.nativescript.ppTest\" } }, \"oauth_client\": [ { \"client_id\": \"424050927453-o7gv6bcmknujjoaaoa5r4d452cutb9jf.apps.googleusercontent.com\", \"client_type\": 3 } ], \"api_key\": [ { \"current_key\": \"AIzaSyDr3fqH7Z8-vhBNpAges_KFTA7oOoylGvU\" } ], \"services\": { \"analytics_service\": { \"status\": 1 }, \"appinvite_service\": { \"status\": 1, \"other_platform_oauth_client\": [] }, \"ads_service\": { \"status\": 2 } } } ], \"configuration_version\": \"1\"} > demo/app/App_Resources/Android/google-services.json &&
cd demo && npm run ci.android.build
- os: osx
env:
- Platform="iOS"
- Xcode="9.2"
osx_image: xcode9.2
language: node_js
node_js: "8"
jdk: oraclejdk8
script: cd demo && npm run ci.ios.build
android:
components:
- tools
- platform-tools
- build-tools-27.0.3
- android-23
- android-26
- extra-android-m2repository
install:
- echo no | npm install -g nativescript
- tns usage-reporting disable
- tns error-reporting disable