Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
meabed committed Sep 26, 2018
1 parent d1f8511 commit 5155b07
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@ before_install:
- go get github.com/mattn/goveralls
script:
- make test-docker
- "$GOPATH/bin/goveralls -repotoken $COVERALLS -coverprofile=profile.cov -service=travis-ci"
- make build
- test -f bin/linux-amd64/server
- make container
- docker images | grep meio/go-swap-server
- "$GOPATH/bin/goveralls -repotoken $COVERALLS -coverprofile=profile.cov -service=travis-ci"
- "./scripts/build-docker.sh"

# calls goreleaser
deploy:
- provider: script
skip_cleanup: true
script: ./scripts/build-docker.sh
on:
tags: true
condition: $TRAVIS_OS_NAME = linux

- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
Expand Down

0 comments on commit 5155b07

Please sign in to comment.