You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by na...@apache.org on 2014/10/02 20:18:02 UTC

[28/29] git commit: CB-7493 Adds test-build command to package.json

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


Project: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/8e83ea0d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/8e83ea0d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/8e83ea0d

Branch: refs/heads/master
Commit: 8e83ea0db8a77f882c623d7f731c359da9c5e8f0
Parents: a13d4bd
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Tue Sep 9 09:59:34 2014 +0400
Committer: Prabhjot Singh <pr...@amazon.com>
Committed: Wed Sep 24 02:08:11 2014 +0530

----------------------------------------------------------------------
 .travis.yml  | 5 +++++
 package.json | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/8e83ea0d/.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-amazon-fireos/blob/8e83ea0d/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 39bd93a..09f0f7c 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,8 @@
         "cordova"
     ],
     "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",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org