Skip to content

Commit

Permalink
Merge branch 'coverage'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Oct 1, 2015
2 parents 8010178 + 9b2c80b commit 108c559
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
@@ -1,5 +1,11 @@
language: go
go: tip
sudo: false
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
install: npm install -g typescript
script: go test -v ./apidts
script:
- go test -coverprofile=coverage.out ./apidts
- $HOME/gopath/bin/goveralls -coverprofile coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
1 change: 1 addition & 0 deletions README.md
@@ -1,6 +1,7 @@
`d.ts` generator using JSON API response
========================================
[![Build Status](https://travis-ci.org/rhysd/api-dts.svg)](https://travis-ci.org/rhysd/api-dts)
[![Coverage Status](https://coveralls.io/repos/rhysd/api-dts/badge.svg?branch=master&service=github)](https://coveralls.io/github/rhysd/api-dts?branch=master)

`api-dts` is a generator for TypeScript programmer who use some JSON APIs. API response JSON has too many fields to write the type definition for it manually. `api-dts` generates such an annoying type definition automatically.

Expand Down

0 comments on commit 108c559

Please sign in to comment.