Reorg travis.yml

This commit is contained in:
Taylor Gerring 2014-11-15 19:36:30 -06:00
parent 790ded0f47
commit 58812fad42
2 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,6 @@
language: go
go:
- 1.3
before_install: before_install:
- sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y - sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
- sudo apt-get update -qq - sudo apt-get update -qq
@ -7,9 +10,7 @@ install:
- go get github.com/golang/lint/golint - go get github.com/golang/lint/golint
- go get code.google.com/p/go.tools/cmd/vet - go get code.google.com/p/go.tools/cmd/vet
- go get code.google.com/p/go.tools/cmd/cover - go get code.google.com/p/go.tools/cmd/cover
language: go - ./install_deps.sh
go:
- 1.3
after_script: after_script:
# - gofmt -l -w . # - gofmt -l -w .
# - goimports -l -w . # - goimports -l -w .
@ -17,6 +18,3 @@ after_script:
# - go vet ./... # - go vet ./...
# - go test -race ./... # - go test -race ./...
- ./gocoverage.sh - ./gocoverage.sh
script:
- chmod +x travis.sh
- ./travis.sh

0
travis.sh → install_deps.sh Normal file → Executable file
View File