From 929933ce9d57eac7cefca11e76dc7aaf33f03a78 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 31 Dec 2012 00:46:01 -0500 Subject: [PATCH 1/4] Add travis.yml for CI build --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..baa0031 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - 0.8 From 7fd9cfabf2759bd630b2135f5491036103f23b40 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 31 Dec 2012 00:48:46 -0500 Subject: [PATCH 2/4] Add Travis build badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 197fb06..ac0ab22 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # reveal.js - +[![Build Status](https://travis-ci.org/hakimel/reveal.js.png)](https://travis-ci.org/hakimel/reveal.js) A framework for easily creating beautiful presentations using HTML. [Check out the live demo](http://lab.hakim.se/reveal-js/). reveal.js comes with a broad range of features including [nested slides](https://github.com/hakimel/reveal.js#markup), [markdown contents](https://github.com/hakimel/reveal.js#markdown), [PDF export](https://github.com/hakimel/reveal.js#pdf-export), [speaker notes](https://github.com/hakimel/reveal.js#speaker-notes) and a [JavaScript API](https://github.com/hakimel/reveal.js#api). It's best viewed in a browser with support for CSS 3D transforms but [fallbacks](https://github.com/hakimel/reveal.js/wiki/Browser-Support) are available to make sure your presentation can still be viewed elsewhere. From 0ac4d5b7db81e2b053f5ab0cba953f370813daec Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 21 Jan 2013 15:28:46 -0500 Subject: [PATCH 3/4] Add npm script tage the Travis automatically executes Set targets to lint, and quint for when the testing is implemented --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 44289a2..5eceba5 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,9 @@ "engines": { "node": "~0.8.0" }, + "scripts": { + "test": "grunt lint qunit" + }, "dependencies": { "underscore" : "~1.3.3", "express" : "~2.5.9", From 4778cb8e51ac7b1110ae6942eb9f046e77b1ba9f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 21 Jan 2013 15:46:23 -0500 Subject: [PATCH 4/4] Add grunt as a dev dependency --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5eceba5..ee73ff9 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "mustache" : "~0.4.0" }, "devDependencies": { - "grunt-contrib-mincss": "~0.3.1" + "grunt-contrib-mincss": "~0.3.1", + "grunt": "~0.3.17" } }