Adding node.js test coverage from CircleCI to Code Climate

install istanbul & codeclimate-test-reporter in your dev dependencies: npm install --save-dev istanbul codeclimate-test-reporter add to circle.yml: general: artifacts: - "coverage" test: post: - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_REPO_TOKEN ./node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info In Code Climate, get the test reporter token from https://codeclimate.com/repos/YER_PROJECT_ID/coverage_setup and take it to the “Env Var” section of your Circle CI project settings page, like https://circleci.com/gh/USER_NAME/PROJECT_NAME/edit#env-vars – add a variable with a name of CODECLIMATE_REPO_TOKEN and value of the test reporter token from Code Climate. Update your test command in your package.json from ...

Dec 18, 2016 · Christopher Boette

'Oh node, he didn't.'

Day 35 of MakerSquare. Morning: lesson on node.js and gelato. We got a quick and dirty introduction to node, its asynchronicity, and the Express.js framework. In the span of the class, we Installed node.js and npm, the Node package manager Registered API keys with Facebook and Twitter Ran our first node.js server Ate homemade gelato - cookie dough flavor! Poked around the Jade page renderer Ran a node.js server to collect our Twitter stream Posted through the server to Facebook when “JavaScript” was mentioned in said Twitter stream Played Bomberman, as built with node.js Built a chat server Whew. ...

Jan 17, 2014 · Christopher Boette

Quote for 2013-11-08

Programming a drone is easy! Install Node.js and get the ar-drone module. All you need to do then is to execute the following code with node. That will make your drone take off, move around, do a flip and carefully land again. Seriously, that’s all! var arDrone = require(‘ar-drone’); var client = arDrone.createClient(); client.takeoff(); client .after(5000, function() { this.clockwise(0.5); }) .after(3000, function() { this.animate('flipLeft’, 15); }) .after(1000, function() { this.stop(); this.land(); }); ...

Nov 8, 2013 · Christopher Boette