Skip to content

Commit

Permalink
Tweak .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dankeder committed Nov 10, 2018
1 parent 171cae7 commit f5a81eb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ script:
- go vet $(go list ./... | grep -v /vendor/)
- go test -v -race ./...
# Only build binaries from the latest Go release.
- if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64 arm" -output="pg_dump_sample.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi
- if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64" -output="pg_dump_sample.{{.OS}}.{{.Arch}}" -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi
- ls -l

deploy:
provider: releases
Expand All @@ -38,11 +39,9 @@ deploy:
secure: EOXlAWik+XjZh9tgimsZId4MNKIEcqyBdweTrQBPOq/Ej2lzHuCGkC/u8Z9oRFbV5MvRMrpnbF1ZMvngGyn821OghDoPA9v18gtYCNEKvbYDQRIY+4rBsJUYR1v6QETj3kiNuZbgHsMHhK+ebv2FR+4syG0awuwJ+KVVlTWDofzQaupVJ5mNCHb+A1oAVNI74EmoI5KTfN3WFdvy/44UPQ3lafYXq+mBIO8HmRMYyB1dFPKI009m8iB3kX3rdQz2awEs1bYPPyLfr5LU2xMpOVPDGnaHNblZ6apYeiLyNeFjXCqe6fshnrEzKCOJG652XxVoSaJoIC28Bh2GurYzDIb1C1fj/xKPdsJm+vQgxkdiam/b73+tLhqYFXrtvdDZR+EQGwz+xQSuH8trqLZ6LeMaEMgApqOmyypJqMFgu2KktWzfGDbK6dRmiI8haDuNSwYPBLug+sMuxAIfzWa4TnM+QEvihryNB05tPtpArjXpHg5fOmKPKU5YycB89uf2qE13LDxWctuc0/pMlA70bIL65iLu8Gu1BxoRWx99HEO9imVHDRPxf6LJEB7rIk5Ln4tcWuXipKCKiINYM2cPpPuTkmhCoRWLv+AkVK+znsILVYa3csh71/nHggr+eMwfJ0NsKzWwV9i/KExFwmX2wF3gZBfLHR1bAiVI6SSGfm4=
file:
# The names of the binaries to output, based on the -output template passed to gox.
- pg_dump_sample.linux.amd64
- pg_dump_sample.darwin.amd64
- pg_dump_sample.linux.amd64
- pg_dump_sample.windows.amd64.exe
- pg_dump_sample.linux.arm
- pg_dump_sample.darwin.arm
on:
# What to repository to build
repo: dankeder/pg_dump_sample
Expand Down

0 comments on commit f5a81eb

Please sign in to comment.