Skip to content

Commit

Permalink
Setup travis
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemfp committed Sep 3, 2016
1 parent 560a908 commit ab0b153
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: node_js
node_js:
- '6'
- '5'
- '4'
- stable
after_script:
- npm run coverage
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "A wrapper for SUAP API.",
"main": "index.js",
"scripts": {
"test": "ava"
"test": "nyc ava",
"report": "nyc report --reporter=html",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"repository": {
"type": "git",
Expand All @@ -25,6 +27,8 @@
"axios": "^0.14.0"
},
"devDependencies": {
"ava": "^0.16.0"
"ava": "^0.16.0",
"coveralls": "^2.11.12",
"nyc": "^8.1.0"
}
}

0 comments on commit ab0b153

Please sign in to comment.