Merge pull request #417 from codegangsta/trim-go1.1-support
Trim go1.1 support
This commit is contained in:
commit
bebbcf6d41
@ -3,7 +3,6 @@ language: go
|
|||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.1.2
|
|
||||||
- 1.2.2
|
- 1.2.2
|
||||||
- 1.3.3
|
- 1.3.3
|
||||||
- 1.4
|
- 1.4
|
||||||
@ -14,6 +13,13 @@ go:
|
|||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- go: master
|
- 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:
|
before_script:
|
||||||
- go get github.com/meatballhat/gfmxr/...
|
- go get github.com/meatballhat/gfmxr/...
|
||||||
|
@ -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:
|
||||||
```
|
```
|
||||||
|
2
runtests
2
runtests
@ -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 = []
|
||||||
|
Loading…
Reference in New Issue
Block a user