diff --git a/.gitignore b/.gitignore index f702af7..857019f 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,5 @@ logs results node_modules +bower_components npm-debug.log diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..df63076 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: node_js +node_js: + - "0.10" + - "0.8" diff --git a/README.md b/README.md index 46c0b48..d5f9179 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Swag +# Swag [![Build Status](https://travis-ci.org/elving/swag.svg?branch=master)](https://travis-ci.org/elving/swag) [![NPM](https://nodei.co/npm/swag.png?downloads=true&stars=true)](https://nodei.co/npm/swag/) diff --git a/package.json b/package.json index cfabddc..024eb20 100644 --- a/package.json +++ b/package.json @@ -30,5 +30,8 @@ }], "engine": { "node": ">=0.6.17" + }, + "scripts": { + "test": "cake test" } } diff --git a/test/logging_test.coffee b/test/logging_test.coffee index 29ad547..e14bf94 100644 --- a/test/logging_test.coffee +++ b/test/logging_test.coffee @@ -20,7 +20,7 @@ describe 'log', -> template = Handlebars.compile(source) template() - _log.history.should.include 'Hi console :)' + _log.history.should.containEql 'Hi console :)' _log.history = [] @@ -32,4 +32,4 @@ describe 'debug', -> context = 'elving' template(context) - _log.history.should.include 'elving' + _log.history.should.containEql 'elving'