cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/2] android commit: CB-7493 Adds test-build command to package.json
Date Wed, 17 Sep 2014 22:01:22 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master 7ce46ed60 -> 949152532


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/master
Commit: d52ca93ba64a79422e65ddeaef633e2c21f38bdb
Parents: 8354651
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Tue Sep 9 09:59:34 2014 +0400
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
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",


Mime
View raw message