Do not test ./altsrc on go1.1

as the YAML library requires go1.2+
This commit is contained in:
Dan Buch 2016-05-21 08:36:07 -04:00
parent 0eb4e0be6c
commit 00bd2a95b2
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,10 @@ Command line apps are usually so tiny that there is absolutely no reason why you
## Installation ## 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: To install cli, simply run:
``` ```

View File

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