소스 검색

Clarify that Go 1.7 or newer is required.

Go 1.6 currently fails the tests with build error

`profile/legacy_profile_test.go:309: t.Run undefined (type *testing.T has no field or method Run)`

Alternatively, we can fix it but I am not sure there is a strong reason
to support Go 1.6 or older.

Also add build status badge in the README.md file.
Alexey Alexandrov 8 년 전
부모
커밋
fd4e849a51
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 0
    1
      .travis.yml
  2. 3
    1
      README.md

+ 0
- 1
.travis.yml 파일 보기

1
 language: go
1
 language: go
2
 go:
2
 go:
3
-  - 1.6.x
4
   - 1.7.x
3
   - 1.7.x
5
   - 1.8.x
4
   - 1.8.x

+ 3
- 1
README.md 파일 보기

1
+[![Build Status](https://travis-ci.org/google/pprof.svg?branch=master)](https://travis-ci.org/google/pprof)
2
+
1
 # Introduction
3
 # Introduction
2
 
4
 
3
 pprof is a tool for visualization and analysis of profiling data.
5
 pprof is a tool for visualization and analysis of profiling data.
24
 
26
 
25
 Prerequisites:
27
 Prerequisites:
26
 
28
 
27
-- Go development kit. Known to work with Go 1.5.
29
+- Go development kit. Requires Go 1.7 or newer.
28
   Follow [these instructions](http://golang.org/doc/code.html) to install the 
30
   Follow [these instructions](http://golang.org/doc/code.html) to install the 
29
   go tool and set up GOPATH.
31
   go tool and set up GOPATH.
30
 
32