Repository: cordova-android Updated Branches: refs/heads/4.0.x 215adab1f -> d022be547
CB-7493 Adds test-build command to package.json Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/d52ca93b Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/d52ca93b Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/d52ca93b Branch: refs/heads/4.0.x Commit: d52ca93ba64a79422e65ddeaef633e2c21f38bdb Parents: 8354651 Author: Vladimir Kotikov <[email protected]> Authored: Tue Sep 9 09:59:34 2014 +0400 Committer: Vladimir Kotikov <[email protected]> Committed: Tue Sep 9 17:53:22 2014 +0400 ---------------------------------------------------------------------- .travis.yml | 5 +++++ package.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/d52ca93b/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e9919cd --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: android +install: npm install +script: + - npm test + - npm run test-build \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-android/blob/d52ca93b/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 8a6ab09..a61927a 100644 --- a/package.json +++ b/package.json @@ -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",
