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/git@github.com:/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) {
1010 return result ;
1111}
1212
13+ var travis = process . env [ "TRAVIS" ] ;
14+
1315module . exports = function ( grunt ) {
1416 grunt . initConfig ( {
15- copyPackageTo : "\\\\telerik.com\\Resources\\BlackDragon\\Builds\\nativescript-cli ",
17+ copyPackageTo : process . env [ "CopyPackageTo" ] || process . env [ "HOME" ] || ". ",
1618
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" ,
1921 dateString : now . substr ( 0 , now . indexOf ( "T" ) ) ,
2022
2123 pkg : grunt . file . readJSON ( "package.json" ) ,
You can’t perform that action at this time.
0 commit comments