CB-7493 Adds test-build command to package.json

This commit is contained in:
Vladimir Kotikov 2014-09-09 09:59:34 +04:00
parent 8354651059
commit d52ca93ba6
2 changed files with 7 additions and 1 deletions

5
.travis.yml Normal file
View File

@ -0,0 +1,5 @@
language: android
install: npm install
script:
- npm test
- npm run test-build

View File

@ -13,7 +13,8 @@
"apache"
],
"scripts": {
"test": "jasmine-node --color spec"
"test": "jasmine-node --color spec",
"test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app Test && \"./test create/cordova/build\" && rm -rf \"test create\""
},
"author": "Apache Software Foundation",
"license": "Apache version 2.0",