Do not test ./altsrc on go1.1

as the YAML library requires go1.2+
main
Dan Buch 8 years ago
parent 0eb4e0be6c
commit 00bd2a95b2
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC

@ -18,7 +18,10 @@ Command line apps are usually so tiny that there is absolutely no reason why you
## Installation
Make sure you have a working Go environment (go 1.1+ is *required*). [See the install instructions](http://golang.org/doc/install.html).
Make sure you have a working Go environment. Go version 1.1+ is required for
core cli, whereas use of the [`./altsrc`](./altsrc) input extensions requires Go
version 1.2+. [See the install
instructions](http://golang.org/doc/install.html).
To install cli, simply run:
```

@ -33,7 +33,7 @@ def main(sysargs=sys.argv[:]):
def _test():
if check_output('go version'.split()).split()[2] < 'go1.2':
_run('go test -v ./...'.split())
_run('go test -v .'.split())
return
coverprofiles = []

Loading…
Cancel
Save