You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/08/01 22:23:15 UTC
[56/61] [abbrv] cordova-create git commit: added travis and appveyor
added travis and appveyor
Project: http://git-wip-us.apache.org/repos/asf/cordova-create/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-create/commit/32fc3e88
Tree: http://git-wip-us.apache.org/repos/asf/cordova-create/tree/32fc3e88
Diff: http://git-wip-us.apache.org/repos/asf/cordova-create/diff/32fc3e88
Branch: refs/heads/master
Commit: 32fc3e88fbdf6f46828e6f69f29e1ba7b0f4f600
Parents: 2e36fd6
Author: Steve Gill <st...@gmail.com>
Authored: Tue Jul 19 10:42:29 2016 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Tue Jul 19 16:47:03 2016 -0700
----------------------------------------------------------------------
.travis.yml | 12 ++++++++++++
appveyor.yml | 12 ++++++++++++
spec/create.spec.js | 6 +++++-
3 files changed, 29 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-create/blob/32fc3e88/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..7aac204
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,12 @@
+language: node_js
+sudo: false
+node_js:
+ - "0.10"
+ - "0.12"
+ - "4.2"
+ - "5.4"
+ - "6.0"
+install:
+ - npm install
+script:
+ - npm test
http://git-wip-us.apache.org/repos/asf/cordova-create/blob/32fc3e88/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..c9b8cf9
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,12 @@
+# appveyor file
+# http://www.appveyor.com/docs/appveyor-yml
+
+install:
+ - npm install
+
+build: off
+
+test_script:
+ - node --version
+ - npm --version
+ - npm test
http://git-wip-us.apache.org/repos/asf/cordova-create/blob/32fc3e88/spec/create.spec.js
----------------------------------------------------------------------
diff --git a/spec/create.spec.js b/spec/create.spec.js
index 7bd493f..d58986f 100644
--- a/spec/create.spec.js
+++ b/spec/create.spec.js
@@ -105,6 +105,7 @@ describe('create end-to-end', function() {
});
function checkProject() {
+ console.log('hi');
// Check if top level dirs exist.
var dirs = ['hooks', 'platforms', 'plugins', 'www'];
dirs.forEach(function(d) {
@@ -189,6 +190,7 @@ describe('create end-to-end', function() {
// Call cordova create with no args, should return help.
Q()
.then(function() {
+ console.log('creating proj');
// Create a real project
return create(project, appId, appName, configGit);
})
@@ -205,6 +207,8 @@ describe('create end-to-end', function() {
Q()
.then(function() {
// Create a real project
+ console.log('creating proj2');
+ console.log(project, appId, appName, configNPM);
return create(project, appId, appName, configNPM);
})
.then(checkProject)
@@ -213,7 +217,7 @@ describe('create end-to-end', function() {
expect(err).toBeUndefined();
})
.fin(done);
- });
+ }, 10000);
it('should successfully run with template not having a package.json at toplevel', function(done) {
// Call cordova create with no args, should return help.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org