diff --git a/.travis.yml b/.travis.yml index 0cd374fa8ea..4d9fec01068 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,12 @@ sudo: false language: go go: - - 1.5.4 - - 1.6.3 - - 1.7 - - tip + - 1.7.x + - 1.8.x + - master matrix: - include: - - go: 1.4.3 - script: - - go get -t -v ./... - - go test -v -race ./... allow_failures: - - go: tip + - go: master fast_finish: true install: - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). diff --git a/README.md b/README.md index 99b93be88a4..abb1b2fa45c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ go-github is a Go client library for accessing the [GitHub API][]. **Build Status:** [![Build Status](https://travis-ci.org/google/go-github.svg?branch=master)](https://travis-ci.org/google/go-github) **Test Coverage:** [![Test Coverage](https://coveralls.io/repos/google/go-github/badge.svg?branch=master)](https://coveralls.io/r/google/go-github?branch=master) ([gocov report](https://drone.io/github.com/google/go-github/files/coverage.html)) -go-github requires Go version 1.4 or greater. +go-github requires Go version 1.7 or greater. ## Usage ## diff --git a/github/github.go b/github/github.go index 4bc6b7d0d8f..e9bb5185ed0 100644 --- a/github/github.go +++ b/github/github.go @@ -29,7 +29,7 @@ const ( ) const ( - libraryVersion = "2" + libraryVersion = "3" defaultBaseURL = "https://api.github.com/" uploadBaseURL = "https://uploads.github.com/" userAgent = "go-github/" + libraryVersion