File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change
1
+ language : node_js
2
+ node_js :
3
+ - " 0.10"
4
+ before_install :
5
+ -
sed -i 's/[email protected] :/https:\/\/github.com\//' .gitmodules
6
+ - git submodule update --init --recursive
7
+ - npm install -g grunt-cli
8
+ install :
9
+ - npm install
10
+ - grunt pack --no-color
11
+ script :
12
+ - exit 0
13
+ git :
14
+ submodules : false
Original file line number Diff line number Diff line change @@ -10,12 +10,14 @@ function shallowCopy(obj) {
10
10
return result ;
11
11
}
12
12
13
+ var travis = process . env [ "TRAVIS" ] ;
14
+
13
15
module . exports = function ( grunt ) {
14
16
grunt . initConfig ( {
15
- copyPackageTo : "\\\\telerik.com\\Resources\\BlackDragon\\Builds\\nativescript-cli ",
17
+ copyPackageTo : process . env [ "CopyPackageTo" ] || process . env [ "HOME" ] || ". ",
16
18
17
- jobName : process . env [ "JOB_NAME" ] || "local" ,
18
- buildNumber : process . env [ "BUILD_NUMBER" ] || "non-ci" ,
19
+ jobName : travis ? "travis" : ( process . env [ "JOB_NAME" ] || "local" ) ,
20
+ buildNumber : process . env [ "TRAVIS_BUILD_NUMBER" ] || process . env [ " BUILD_NUMBER"] || "non-ci" ,
19
21
dateString : now . substr ( 0 , now . indexOf ( "T" ) ) ,
20
22
21
23
pkg : grunt . file . readJSON ( "package.json" ) ,
You can’t perform that action at this time.
0 commit comments