2016-10-31 23:50:02 +08:00
|
|
|
language: go
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.1.2
|
|
|
|
- 1.2.2
|
|
|
|
- 1.3.3
|
2017-05-11 22:39:54 +08:00
|
|
|
- 1.4.3
|
|
|
|
- 1.5.4
|
|
|
|
- 1.6.4
|
|
|
|
- 1.7.5
|
|
|
|
- 1.8
|
|
|
|
- master
|
2016-10-31 23:50:02 +08:00
|
|
|
|
2017-05-11 22:39:54 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.8
|
|
|
|
env: TEST_REAL_SERVER=rackspace
|
|
|
|
- go: 1.8
|
|
|
|
env: TEST_REAL_SERVER=memset
|
|
|
|
allow_failures:
|
|
|
|
- go: 1.8
|
|
|
|
env: TEST_REAL_SERVER=rackspace
|
|
|
|
- go: 1.8
|
|
|
|
env: TEST_REAL_SERVER=memset
|
|
|
|
install: go test -i ./...
|
2016-10-31 23:50:02 +08:00
|
|
|
script:
|
|
|
|
- test -z "$(go fmt ./...)"
|
|
|
|
- go test
|
2017-05-11 22:39:54 +08:00
|
|
|
- ./travis_realserver.sh
|