Skip to content

Commit 8b78738

Browse files
committed
build
1 parent 4a6a679 commit 8b78738

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

.travis.yml

+23-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,30 @@
11
language: node_js
22
node_js:
3-
- "0.10"
3+
- '0.10'
44
before_install:
5-
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
6-
- git submodule update --init --recursive
7-
- npm install -g grunt-cli
5+
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
6+
- git submodule update --init --recursive
7+
- npm install -g grunt-cli
88
install:
9-
- npm install
10-
- grunt pack --no-color
9+
- npm install
10+
- grunt pack --no-color
1111
script:
12-
- exit 0
12+
- 'true'
1313
git:
1414
submodules: false
15+
deploy:
16+
- provider: releases
17+
skip_cleanup: true
18+
api_key:
19+
secure: eUmm52zfs68StxqUkPWuuNa85vBrlYmjuRw4FR8kZSyBWKkCySU8xuZVRpxLdqE3VRAsORsP2Ggf4UKqDM4BtTNl0lZGLeyT2OuL/9AB1r/IqzylLI2xAmibboLktFL4BQL8uqWnBkyYHSC0Ufv7C8poXdbyubLrSMuP9hRBy/0=
20+
file: travis/nativescript.tgz
21+
on:
22+
tags: true
23+
all_branches: true
24+
- provider: npm
25+
26+
api_key:
27+
secure: NL1DbE1q8tPqIYA4ixZqpvaDeYkPCnMst2/bB/fBcHsR8pqV+QxBCC0LE5GGhIzrFEBcnppsC1jIv9HWOezdNFPcBBF4zVUQzMWlrZSQ3EY1vWAqfKjgHiWRWd3hXu3gNR8SfqRHTn+VcmKhOWA6c9lgez41/BdJSE5Z3WupF+g=
28+
on:
29+
tags: true
30+
all_branches: true

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var buildNumber = process.env["TRAVIS_BUILD_NUMBER"] || process.env["BUILD_NUMBE
1515

1616
module.exports = function(grunt) {
1717
grunt.initConfig({
18-
copyPackageTo: process.env["CopyPackageTo"] || process.env["HOME"] || ".",
18+
copyPackageTo: process.env["CopyPackageTo"] || ".",
1919

2020
jobName: travis ? "travis" : (process.env["JOB_NAME"] || "local"),
2121
buildNumber: buildNumber,

0 commit comments

Comments
 (0)