Browse Source

fix travis yml and test

tags/v0.7.8
toranger 6 years ago
parent
commit
77bfe2d0c7
  1. 7
      .travis.yml

7
.travis.yml

@ -1,6 +1,5 @@
language: go language: go
go: go:
- '1.6'
- '1.7' - '1.7'
- '1.8' - '1.8'
- '1.9' - '1.9'
@ -9,17 +8,17 @@ go:
sudo: false sudo: false
before_install: before_install:
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls
go get github.com/stretchr/testify
install: install:
- go get - go get
- go build - go build
script: script:
- make test - make test
- make ci-test - make ci-test
- go test -coverprofile=cover.out github.com/tencentyun/cos-go-sdk-v5
- "$HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out"
- go test -coverprofile=cover.out github.com/toranger/cos-go-sdk-v5
- "${TRAVIS_HOME}/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out"
matrix: matrix:
allow_failures: allow_failures:
- go: 1.6
- go: 1.7 - go: 1.7
- go: master - go: master
env: env:

Loading…
Cancel
Save