Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing tests, add Travis CI, and ignore bower_components #57

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ logs
results

node_modules
bower_components
npm-debug.log
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js:
- "0.10"
- "0.8"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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/)

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
}],
"engine": {
"node": ">=0.6.17"
},
"scripts": {
"test": "cake test"
}
}
4 changes: 2 additions & 2 deletions test/logging_test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand All @@ -32,4 +32,4 @@ describe 'debug', ->
context = 'elving'

template(context)
_log.history.should.include 'elving'
_log.history.should.containEql 'elving'