Merge pull request #417 from codegangsta/trim-go1.1-support

Trim go1.1 support
This commit is contained in:
Jesse Szwedko 2016-05-21 11:46:57 -07:00
commit bebbcf6d41
3 changed files with 12 additions and 3 deletions

View File

@ -3,7 +3,6 @@ language: go
sudo: false
go:
- 1.1.2
- 1.2.2
- 1.3.3
- 1.4
@ -14,6 +13,13 @@ go:
matrix:
allow_failures:
- go: master
include:
- go: 1.1.2
install: go get -v .
before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION
script:
- ./runtests vet
- ./runtests test
before_script:
- go get github.com/meatballhat/gfmxr/...

View File

@ -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:
```

View File

@ -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 = []