Skip to content

Commit

Permalink
update travis config and fix badge
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Nov 10, 2017
1 parent f297a93 commit a64b632
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
@@ -1,13 +1,18 @@
language: node_js
node_js:
- '8'
- '8'
cache:
directories:
- "node_modules"
before_script:
- npm install -g gulp-cli
- npm install -g gulp-cli
- 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
script:
- npm test
- npm test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
deploy:
provider: npm
email: gilbarbara@gmail.com
Expand All @@ -16,6 +21,6 @@ deploy:
on:
tags: true
node: '8'
repo: gilbarbara/react-inlinesvg
branch: master
addons:
code_climate: true
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# react-inlinesvg

[![NPM version](https://badge.fury.io/js/react-inlinesvg.svg)](https://badge.fury.io/js/react-inlinesvg.svg)
[![NPM version](https://badge.fury.io/js/react-inlinesvg.svg)](https://www.npmjs.com/package/react-inlinesvg)
[![build status](https://travis-ci.org/gilbarbara/react-inlinesvg.svg)](https://travis-ci.org/gilbarbara/react-inlinesvg)
[![Maintainability](https://api.codeclimate.com/v1/badges/c7e42fe511b80cc25760/maintainability)](https://codeclimate.com/github/gilbarbara/react-inlinesvg/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/c7e42fe511b80cc25760/test_coverage)](https://codeclimate.com/github/gilbarbara/react-inlinesvg/test_coverage)
Expand Down

0 comments on commit a64b632

Please sign in to comment.