Merge branch 'fix_travis_go_modules'

This commit is contained in:
Brendan C. Ward 2020-02-14 05:31:37 -08:00
commit bf6b6d3f0c
3 changed files with 18 additions and 7 deletions

View File

@ -1,7 +1,7 @@
language: go
go:
- "1.10"
- "1.11"
- "1.11.4" # required per: https://github.com/golang/go/issues/30446
- "1.12"
- "1.13"
- tip
@ -11,9 +11,9 @@ matrix:
- go: master
fast_finish: true
env:
global:
- GO111MODULE=on
cache:
directories:
- $GOPATH/pkg/mod
install: true

View File

@ -8,8 +8,6 @@ format.
[![GoDoc](https://godoc.org/github.com/consbio/mbtileserver?status.svg)](http://godoc.org/github.com/consbio/mbtileserver)
[![Go Report Card](https://goreportcard.com/badge/github.com/consbio/mbtileserver)](https://goreportcard.com/report/github.com/consbio/mbtileserver)
_Requires Go 1.10+._
It currently provides support for `png`, `jpg`, and `pbf` (vector tile)
tilesets according to version 1.0 of the mbtiles specification. Tiles
are served following the XYZ tile scheme, based on the Web Mercator
@ -33,6 +31,19 @@ virtual machine without any issues.
- Run on small resource cloud hosted machines (limited memory & CPU)
- Be easy to install and operate
## Supported Go versions
_Requires Go 1.10+._ Go 1.13 is recommended for full support.
`mbtileserver` uses go modules and follows standard practices as of Go 1.13.
Due to varying degrees of go module support between Go versions 1.10 and 1.13, we provide a `vendor` directory with
dependencies for older versions. This is deprecated and will be removed in an upcoming version.
_Note:_
Go versions 1.11.0 - 1.11.3 are not supported, use Go 1.11.4. This is due to differences in how those versions handled go modules
([see](https://github.com/golang/go/issues/30446)).
## Installation
You can install this project with

2
go.mod
View File

@ -20,4 +20,4 @@ require (
golang.org/x/tools v0.0.0-20200213023303-cbc0cc175f84 // indirect
)
go 1.13
go 1.10