added travis and appveyor
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
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
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 @@
});
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 @@
// 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 @@
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 @@
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.