Skip to content

Commit

Permalink
Fix badges (#108)
Browse files Browse the repository at this point in the history
* Fix vulnerability, maintainability and coverage badges

* Ship coverage results to Code Climate
  • Loading branch information
timkurvers authored Jun 18, 2018
1 parent 90e3a9e commit 334e72f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1,054 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ before_install:
- sudo make install
- sudo ldconfig
- cd $TRAVIS_BUILD_DIR
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
env:
- CXX=g++-4.8
script: npm test --coverage
after_script: codeclimate < coverage/lcov.info
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
[![Version](https://img.shields.io/npm/v/blizzardry.svg?style=flat)](https://www.npmjs.org/package/blizzardry)
[![Join chat](https://img.shields.io/badge/gitter-join_chat-blue.svg?style=flat)](https://gitter.im/wowserhq/blizzardry)
[![Build Status](https://img.shields.io/travis/wowserhq/blizzardry.svg?style=flat)](https://travis-ci.org/wowserhq/blizzardry)
[![Dependency Status](https://img.shields.io/gemnasium/wowserhq/blizzardry.svg?style=flat)](https://gemnasium.com/wowserhq/blizzardry)
[![Code Climate](https://img.shields.io/codeclimate/github/wowserhq/blizzardry.svg?style=flat)](https://codeclimate.com/github/wowserhq/blizzardry)
[![Coverage](https://img.shields.io/codeclimate/coverage/github/wowserhq/blizzardry.svg?style=flat)](https://codeclimate.com/github/wowserhq/blizzardry)
[![Known Vulnerabilities](https://snyk.io/test/github/wowserhq/blizzardry/badge.svg)](https://snyk.io/test/github/wowserhq/blizzardry)
[![Maintainability](https://api.codeclimate.com/v1/badges/dc66eca9b4afbbf290b3/maintainability)](https://codeclimate.com/github/wowserhq/blizzardry/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/dc66eca9b4afbbf290b3/test_coverage)](https://codeclimate.com/github/wowserhq/blizzardry/test_coverage)

JavaScript library for mastering the wizardry that is [Blizzard]'s game files.

Expand Down
Loading

0 comments on commit 334e72f

Please sign in to comment.