39 lines
2.7 KiB
YAML
39 lines
2.7 KiB
YAML
|
language: go
|
||
|
go:
|
||
|
- '1.7'
|
||
|
- '1.8'
|
||
|
- '1.9'
|
||
|
- 1.10.x
|
||
|
- 1.11.x
|
||
|
- 1.12.x
|
||
|
- master
|
||
|
sudo: false
|
||
|
before_install:
|
||
|
- go get -u github.com/mattn/goveralls
|
||
|
- go get -u github.com/stretchr/testify
|
||
|
install:
|
||
|
- go get
|
||
|
- go build
|
||
|
- go build github.com/mattn/goveralls
|
||
|
script:
|
||
|
- if [[ ! -n "$COS_SECRETID" ]]; then exit 0
|
||
|
; fi
|
||
|
- make test
|
||
|
- make ci-test
|
||
|
- go test -coverprofile=cover.out github.com/toranger/cos-go-sdk-v5
|
||
|
- "${TRAVIS_HOME}/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out"
|
||
|
matrix:
|
||
|
allow_failures:
|
||
|
- go: 1.7
|
||
|
- go: master
|
||
|
env:
|
||
|
global:
|
||
|
- secure: XXB/cFVnJcAzhOZ2/zplwjhhhireQQGGRbNscPgQ0kpUQCyPZ6oIHvJMafuP4TVTJHEdMiaDxm0HNvgARuopXVaQNmK2UZj6xw40Ud7OT7ZUnw88xkQkXOI5GwG8oz9LqxIXUSItHegKXRLW0e1PoBdjZNv6lxGFAtuOcl9ekAg/q2lGIIQFefz6NK7gCmGYULKe+4J15VFldoYNM0JesxxxArTvtv8+k+U53oUwy9dex6z5oIA1zGIeKLcOD2xXgbjid/Ett3t0B2w3GfJWoM9rGV0eHgveOAUGe5tQkMKvl5LK1hj+93ZmU0MAG7x7t9jYKrFPqU/eDNJRMb4Ro6L7lIXVEKaBUkLx28PnwFQ5D043GBVtQGqYNcldZXIfbyYEHQZlD/BWFOt5YqTpGg+7Wm4NC3Yffqsurzk54juT7FftzVy0A8MFkqO+c5RHrOSUlm01pWXkGLHgZhUP5gEZEuUaoluSQTZksmAUJZ7F8DxwpE4SYBqfN27PZ87rWDNyOqNv1w1trzwx2IfdHHA+vfCZ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