Skip to content

Commit 293ff55

Browse files
committed
add deployment settings
1 parent c5b7fb0 commit 293ff55

3 files changed

Lines changed: 26 additions & 8 deletions

File tree

.travis.yml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ android:
55
- tools
66
- platform-tools
77
- build-tools-25.0.2
8-
- android-25
98
- android-23
9+
- android-25
1010
- extra-android-m2repository
1111

1212
before_cache:
@@ -28,7 +28,7 @@ install:
2828

2929
matrix:
3030
include:
31-
- stage: "Lint"
31+
- stage: lint
3232
language: node_js
3333
os: linux
3434
node_js: "6"
@@ -41,7 +41,7 @@ matrix:
4141
- cd bin/dist && cat package.json | grep -q "\"nativescript\"" && cd ../..
4242
- grunt exec:tslint
4343

44-
- stage: "Build"
44+
- stage: build
4545
language: android
4646
os: linux
4747
env:
@@ -51,7 +51,9 @@ matrix:
5151
script:
5252
- cd demo && npm install && tns build android && cd ..
5353
- cd demo-ng && npm install && tns build android && cd ..
54-
- os: osx
54+
55+
- stage: build
56+
os: osx
5557
env:
5658
- iOS="10.3"
5759
- Xcode="8.3"
@@ -63,7 +65,7 @@ matrix:
6365
- cd demo && npm install && tns build ios && cd ..
6466
- cd demo-ng && npm install && tns build ios && cd ..
6567

66-
- stage: "WebPack"
68+
- stage: webpack
6769
language: android
6870
os: linux
6971
env:
@@ -74,7 +76,9 @@ matrix:
7476
script:
7577
- cd demo && npm install && npm run ns-bundle --android --build-app --uglify && cd ..
7678
- cd demo-ng && npm install && npm run ns-bundle --android --build-app --uglify && cd ..
77-
- os: osx
79+
80+
- stage: webpack
81+
os: osx
7882
env:
7983
- iOS="10.3"
8084
- Xcode="8.3"
@@ -86,3 +90,17 @@ matrix:
8690
script:
8791
- cd demo && npm install && npm run ns-bundle --ios --build-app --uglify && cd ..
8892
- cd demo-ng && npm install && npm run ns-bundle --ios --build-app --uglify && cd ..
93+
94+
before_deploy:
95+
- cd bin/dist
96+
97+
deploy:
98+
language: node_js
99+
node_js: "6"
100+
provider: npm
101+
email: "peter@tangrasoft.com"
102+
api_key:
103+
secure: U3FCudZUlh/TjfF51/binIIWkwKsbuMB1OivJrJ4HWLlxNcbes91uBVFLJ5aktg+yJxR72yH/cJ7BQRh/I18AUX+tnLcUHR9bz31WdM7+njm5gmAbb2c4cypKZ1L1yeIhhOtL7wZqYzvP5Jbthuv/ewQkYtMJXZiOXuYFhOtMUXMVAS8PIQfNbCCW7UFqhGAolfSHExVv4OgJh/GAAcscg8XPdArUOicZhGSSSRc5J71S8R9z46g02BXMx0DHMgcM0gTzkDjq0yA3ns+XCqEQrJNQC8jvD8OPY49VG+rKBY/xGO6JzRTue5HlmsXNbI98bk+qljaXCFllv3RBW6mu5lFBhDDJtzSrr3PuyddOC1EnCStDP1tfvj6tPTw7mMWY3LfOBzPl9E8T1HxJBbmGEpjVLvmBlujhw8osbnLYJjgK+qETjvBn3mem6NhGd4H/q3Q1iioVwRWwrVCeVFrpoq/Aa2ySZYKGU4wqJDYbGIOgBr8PB3pFc4BauEJhQmhoP8vF4s6yNEfTkXuA61Nsqwv2DuG1uqTcmcrSeXRTaA2nWok8oEqQ/QAk/t9HFDuZLQhCgDJaXoKmDtNsVQ/rfTyMNBTXm95IWwSlQb2RwYxsgagKEBk86myYkzh1tQJdERIWqF2zmohQTMaiwqv+ssDW1eyydPcnkFfyQyAPn8=
104+
skip_cleanup: true
105+
on:
106+
branch: release

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
"webpack": "2.2.0",
4242
"webpack-sources": "~0.1.3"
4343
}
44-
}
44+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-drop-down",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"description": "A NativeScript DropDown widget.",
55
"main": "drop-down",
66
"typings": "drop-down.d.ts",

0 commit comments

Comments
 (0)