change travis.yml to use c lang
authorTravis Webb <me@traviswebb.com>
Fri, 13 Jun 2014 06:00:38 +0000 (02:00 -0400)
committerTravis Webb <me@traviswebb.com>
Fri, 13 Jun 2014 06:00:38 +0000 (02:00 -0400)
.travis.yml
package.json

index b5c5f98..cdb41c3 100644 (file)
@@ -1,9 +1,11 @@
-language: node_js
-node_js:
-  - "0.10"
+language: c
 
 before_install:
   - wget git.io/hikK5g -qO- | sudo bash
+  - n stable
+
+install:
+  - npm install
 
 before_script:
   - sudo npm run setup
@@ -14,3 +16,8 @@ script:
   - npm test
   - npm run test-datasource
   - npm run jshint
+
+after_failure:
+  - env
+  - sudo cat npm-debug.log
+  - sudo cat bootstrap.log
index 3d0153e..fe014ca 100644 (file)
@@ -41,8 +41,7 @@
     "underscore": "1.4.x",
     "winston": "0.7.x",
     "underscore.string": "~2.3.3",
-    "ursa": "0.8.x",
-    "xtuple-server": "^0.9.25"
+    "ursa": "0.8.x"
   },
   "devDependencies": {
     "chai": "1.5.x",
@@ -55,6 +54,7 @@
     "nopt": "2.0.0",
     "require-uncache": "0.0.x",
     "shelljs": "0.0.8",
+    "xtuple-server": "^0.9.25",
     "zombie": "2.x"
   },
   "bundledDependencies": [
@@ -76,6 +76,7 @@
     "build-basic-quickstart": "./scripts/build_app.js -d quickstart --databaseonly -e foundation-database -i -s foundation-database/quickstart_data.sql",
     "jshint": "./node_modules/.bin/jshint --exclude node-datasource/lib/query/node_modules lib/backbone-x/source lib/enyo-x/source lib/tools/source enyo-client/application/source/ enyo-client/extensions node-datasource",
     "preinstall": "cd node-datasource/lib/query ; npm install",
+    "prepublish": "npm dedupe",
     "start": "node_modules/.bin/nodemon --debug --watch node-datasource",
     "test": "./node_modules/.bin/mocha -R spec test/lib/login.js test/models/* test/database/* test/extensions/* test/lib/test_runner.js",
     "test-build": "./node_modules/.bin/mocha -R spec test/build/build_app.js",