Permalink
Browse files

Added Travis CI tool

  • Loading branch information...
eko committed Feb 10, 2019
1 parent 401a0f8 commit 418e8b445462e0203f71c508a644fda1946c7153
Showing with 19 additions and 1 deletion.
  1. +16 −0 .travis.yml
  2. +3 −1 README.md
@@ -0,0 +1,16 @@
language: go

go:
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- "1.10"
- 1.11


install:
- go get github.com/stretchr/testify

script: go test -v ./...
@@ -1,7 +1,9 @@
graphql-go-upload
=================

[![TravisBuildStatus](https://api.travis-ci.org/eko/graphql-go-upload.svg?branch=master)](https://travis-ci.org/eko/graphql-go-upload)
[![GoDoc](https://godoc.org/github.com/eko/graphql-go-upload?status.png)](https://godoc.org/github.com/eko/graphql-go-upload)
[![GoReportCard](https://goreportcard.com/badge/github.com/eko/graphql-go-upload)](https://goreportcard.com/badge/github.com/eko/graphql-go-upload)

This library exposes a middleware for the [GraphQL-Go](https://github.com/graph-gophers/graphql-go) project in order to expose a new `Upload` scalar type and allow you to send `multipart/form-data` POST requests containing files and fields data.

@@ -64,4 +66,4 @@ $ curl http://localhost:8000/graphql \
-F map='{ "file": ["variables.file"], "title": ["variables.title"] }' \
-F file=@myfile.txt \
-F title="My content title"
```
```

0 comments on commit 418e8b4

Please sign in to comment.