Skip to content

Commit

Permalink
Merge pull request #17 from johscheuer/update-travis
Browse files Browse the repository at this point in the history
Update travis
  • Loading branch information
johscheuer authored Dec 6, 2016
2 parents f91b9db + 906fa52 commit 8b66d4c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
bin
docker-quobyte-plugin.tar.gz
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ install:
- go vet $(go list ./...)
- CGO_ENABLED=0 go build -ldflags "-s -w -X main.version=$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match) -X main.revision=$(git log -1 --format=%h)" -a -installsuffix cgo -o bin/docker-quobyte-plugin
.

before_deploy:
- tar cfvz docker-quobyte-plugin.tar.gz bin systemd

deploy:
provider: releases
api_key:
secure: WH/p2ZsIBcbMaNDP9un7WIH3wjpRCoT8gWCcqJf0Ki9Qm8c5OqyP0PY+bKwdaZXBxO6cbk6s2w8W6cto7W1CQh09RtIVt8E3s8IEHl5WTJr/NdipHj5Z5u80IwlreNfT5clRY+ToTpeO/CAUDEpBkIDo5brTXoPkgyLvOF/sjHjSbo2ETBoyZ17HvX+HzdCO0ZMHSISJfFmwenWCKQTGx3+jQcUCSzy84YyD/wSGOy3BUXmAGjPLttLNKYnH/tRzAPG2pwL6IhygwvObPhMJNPtjvPamMFjm7vrB6D5wmV2pDyc2QB2J0lRYaqjs6BHCbuuyjcvs6lVE98JykSqAm88ADzsi1HtqHGViyyxi13utmxc4rlwX7B5jrumhGNE+BX3o+hm/8RDvRRlgxc9TcuAx8gEr2RF7rUmc4jpssHQU1xc5ywVi0ioOAQGevHfdf8dugh7QengGOmfRAfkrU0WT6jspLMGps2JP021+PzYyKdq0rYeL/HnLZBiviiklZNmvFe4lhULVvKij0lKb/QOjij6bjyCvSM3jAqiak+7L0vhfxwscZOzIAqc9qr2EQoJXqHUnn+K6eqsAruZ6ZE4R13BWFYf5WQUGMq715U5G9bMCbw6YZq0WDa+lJomkj/oCduIuka34AzY4+GRoJxmb61s+6Bc6B3N9qCt6v34=
file: bin/docker-quobyte-plugin
file: docker-quobyte-plugin.tar.gz
skip_cleanup: true
on:
repo: quobyte/docker-volume
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
return
}

if err := validateAPIURL(*quobyteAPIURL) != nil {
if err := validateAPIURL(*quobyteAPIURL); err != nil {
log.Fatalln(err)
}

Expand Down

0 comments on commit 8b66d4c

Please sign in to comment.