Skip to content

Commit

Permalink
Better Travis workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mesmo committed Jul 25, 2017
1 parent 8bd8b11 commit e2672b2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 42 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
language: node_js
language:
- node_js

node_js:
- "stable"

after_success: npm run coverage
script:
- npm run build
- npm run test

after_success:
- npm run coverage
10 changes: 0 additions & 10 deletions node_modules/.cache/nyc/72a4bbb3b4af3379f095fdf4d61e6570_11.0.3.js

This file was deleted.

29 changes: 0 additions & 29 deletions node_modules/.cache/nyc/fcf93dc7cdc2031b0a2f8d698726d148_11.0.3.js

This file was deleted.

5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"test": "test"
},
"scripts": {
"build": "tsc -p .",
"test": "nyc --reporter=lcov mocha",
"coverage": "CODECLIMATE_REPO_TOKEN=6ecc007b40c9be01cd83b16e03997effcfdc8eb7e1639368a7b7c9c99affdfab codeclimate-test-reporter < ./coverage/lcov.info"
},
"devDependencies": {
"typescript": "latest",
"nyc": "latest",
"mocha": "latest",
"codeclimate-test-reporter": "latest"
Expand All @@ -34,4 +36,4 @@
"url": "https://github.com/steelbreeze/graph/issues"
},
"homepage": "https://github.com/steelbreeze/graph#readme"
}
}

0 comments on commit e2672b2

Please sign in to comment.