Godep apparently breaks when trying to parse code that specifies build tags for versions of golang above that with which it was built (which it shouldn't be parsing in the first place). This breaks the travis tests since `golang.org/x/net/context` now contains golang 1.9 specific code. In order to get around this we temporarily disable the error check for `godep save ./...` in test.sh. Opened #2965 to revert this once Godep is fixed or we move to golang 1.9. Requires an update to `golang.org/x/net` and adding `golang.org/x/text`. ``` [roland@niya:~/gopath/src/golang.org/x/net]$ go test ./... ok golang.org/x/net/bpf 0.472s ok golang.org/x/net/context 0.090s ok golang.org/x/net/context/ctxhttp 0.161s ? golang.org/x/net/dict [no test files] ok golang.org/x/net/dns/dnsmessage 0.044s ok golang.org/x/net/html 0.094s ok golang.org/x/net/html/atom 0.003s ok golang.org/x/net/html/charset 0.027s ok golang.org/x/net/http2 80.253s ? golang.org/x/net/http2/h2i [no test files] ok golang.org/x/net/http2/hpack 0.064s ok golang.org/x/net/icmp 0.026s ok golang.org/x/net/idna 0.035s ? golang.org/x/net/internal/iana [no test files] ? golang.org/x/net/internal/nettest [no test files] ok golang.org/x/net/internal/socket 0.005s ok golang.org/x/net/internal/timeseries 0.024s ok golang.org/x/net/ipv4 0.013s ok golang.org/x/net/ipv6 0.036s ok golang.org/x/net/lex/httplex 0.004s ok golang.org/x/net/nettest 1.164s ok golang.org/x/net/netutil 0.898s ok golang.org/x/net/proxy 0.004s ok golang.org/x/net/publicsuffix 0.202s ok golang.org/x/net/trace 0.018s ok golang.org/x/net/webdav 0.061s ok golang.org/x/net/webdav/internal/xml 0.014s ok golang.org/x/net/websocket 0.022s ok golang.org/x/net/xsrftoken 0.025s [roland@niya:~/gopath/src/golang.org/x/text]$ go test ./... ? golang.org/x/text [no test files] ok golang.org/x/text/cases 0.439s ? golang.org/x/text/cmd/gotext [no test files] ok golang.org/x/text/collate 0.038s ok golang.org/x/text/collate/build 0.024s ? golang.org/x/text/collate/tools/colcmp [no test files] ok golang.org/x/text/currency 2.961s ok golang.org/x/text/encoding 0.005s ok golang.org/x/text/encoding/charmap 0.060s ok golang.org/x/text/encoding/htmlindex 0.005s ok golang.org/x/text/encoding/ianaindex 0.030s ? golang.org/x/text/encoding/internal [no test files] ? golang.org/x/text/encoding/internal/enctest [no test files] ? golang.org/x/text/encoding/internal/identifier [no test files] ok golang.org/x/text/encoding/japanese 0.098s ok golang.org/x/text/encoding/korean 0.032s ok golang.org/x/text/encoding/simplifiedchinese 0.100s ok golang.org/x/text/encoding/traditionalchinese 0.012s ok golang.org/x/text/encoding/unicode 0.013s ok golang.org/x/text/encoding/unicode/utf32 0.071s ok golang.org/x/text/feature/plural 0.352s ok golang.org/x/text/internal 0.009s ok golang.org/x/text/internal/catmsg 0.034s ok golang.org/x/text/internal/colltab 1.817s ok golang.org/x/text/internal/export/idna 0.040s ? golang.org/x/text/internal/format [no test files] ? golang.org/x/text/internal/gen [no test files] ok golang.org/x/text/internal/number 0.028s ok golang.org/x/text/internal/stringset 0.021s ok golang.org/x/text/internal/tag 0.044s ? golang.org/x/text/internal/testtext [no test files] ok golang.org/x/text/internal/triegen 0.357s ok golang.org/x/text/internal/ucd 0.023s ? golang.org/x/text/internal/utf8internal [no test files] ok golang.org/x/text/language 0.033s ok golang.org/x/text/language/display 3.917s ok golang.org/x/text/message 0.033s ok golang.org/x/text/message/catalog 0.069s ok golang.org/x/text/runes 0.039s ok golang.org/x/text/search 0.019s ? golang.org/x/text/secure [no test files] ok golang.org/x/text/secure/bidirule 0.032s ok golang.org/x/text/secure/precis 0.066s ok golang.org/x/text/transform 0.106s ? golang.org/x/text/unicode [no test files] ok golang.org/x/text/unicode/bidi 0.026s ok golang.org/x/text/unicode/cldr 0.114s ok golang.org/x/text/unicode/norm 4.009s ok golang.org/x/text/unicode/rangetable 1.516s ok golang.org/x/text/unicode/runenames 0.011s ok golang.org/x/text/width 0.310s ``` Fixes #2963. |
||
|---|---|---|
| .. | ||
| crypto | ||
| net | ||
| text | ||