Skip to content

Commit

Permalink
[chore] try to fix coverage on PRs.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Jun 27, 2017
1 parent e5090de commit 6c241aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Empty file added .coveralls.yml
Empty file.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- make tests-ci
- COVERAGE=true make tests-single-run
after_success:
- make coveralls
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ tests-single-run:
@npm run test -- --single-run

coveralls:
-cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js 2>/dev/null
-cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -v 2>/dev/null

tests-ci: clean lint
@COVERAGE=$(COVERAGE) make tests-single-run coveralls
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"codeclimate-test-reporter": "^0.4.0",
"codeclimate-test-reporter": "^0.5.0",
"coveralls": "^2.13.1",
"cross-env": "^5.0.1",
"envify": "^3.4.1",
Expand All @@ -50,7 +50,7 @@
"karma-mocha-reporter": "^2.2.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.1",
"mocha": "3.2.0",
"mocha": "^3.4.2",
"npm-run-all": "^3.1.2",
"react": "^15.6.1",
"react-dom": "^15.6.1",
Expand Down

0 comments on commit 6c241aa

Please sign in to comment.