Skip to content

Commit

Permalink
Separate stages
Browse files Browse the repository at this point in the history
  • Loading branch information
VMitov committed May 18, 2017
1 parent 9bab81a commit 9fe2e91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: go

jobs:
include:

- stage: test
go: 1.x
os: linux
Expand All @@ -13,6 +14,7 @@ jobs:
- test -z "$(gofmt -s -l . 2>&1 | grep -v vendor | tee /dev/stderr)"
- test -z "$(go list ./... 2>&1 | grep -v /vendor/ | xargs -L1 golint | tee /dev/stderr)"
script: goveralls -service=travis-ci

- stage: test alternative environments
script: go test $(go list ./... | grep -v /vendor/)
go: 1.x
Expand All @@ -21,6 +23,7 @@ jobs:
script: go test $(go list ./... | grep -v /vendor/)
go: tip
os: linux

- stage: GitHub releases
script: skip
before_deploy:
Expand Down

0 comments on commit 9fe2e91

Please sign in to comment.