This repository has been archived by the owner on Oct 27, 2020. It is now read-only.
forked from rgl/terraform-provider-vultr
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
26 lines (26 loc) · 1.44 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: go
go:
- 1.8.1
install:
- cd $GOPATH
- go get github.com/hashicorp/terraform
- go get github.com/JamesClonk/vultr
before_script:
- rm -rf $GOPATH/src/github.com/hashicorp/terraform/builtin/providers/fastly
script:
- cd $GOPATH/src/github.com/elricsfate/terraform-provider-vultr
- go build
- go test
before_deploy:
- cp $GOPATH/src/github.com/elricsfate/terraform-provider-vultr/terraform-provider-vultr $GOPATH/bin
- cd $GOPATH/bin
- tar -czvf terraform_provider_vultr-$TRAVIS_COMMIT.tar.gz vultr terraform-provider-vultr
- cd $GOPATH/src/github.com/elricsfate/terraform-provider-vultr
deploy:
provider: releases
api_key:
secure: aUr3UO2Hvta10MsgfoV2XTRCDSQ89SA2PzphVwigl9JfmgKGMhmKs6dmFLP6D68btjYFyhMfLUTNBYZKBVXC4dymXx1mt1AyzENPrAeM1cC9xunxc1zu6psprYh3z9TsHTPHjeGQ8U4luR/N/GeDDOetuJFnvXsBjZTqaamHoGSKABGQS+ymN8xaPM2WE5ykPSOrkng0aUlmP44Z1ppCYzCHd0TVNFM/i1nm4F+fhpOYl2JtetRBo0jhumc/cq+ChkbdMPW3UfgYtpI3qaIKacCD0bfVria7kAmxRYWqoMt6PAwZK68MRXht951fwmRACB0uMGDjVJQ3atbdxvdKA2bvxBoRAs+Z3v6YeDHk3xCkUcXz11mvEdb9jZKG4rdKwoN1GYTwUfNdPaFoaiQBG5xq1bmwWGS9WUzAA3zmx8DqVQxMXJb48P2xJDNisfxP1jUbolPetQsVn/AzwveUySU1Fq8PNVA1XTwxeiR2aHl6jDM714rWuCIAzSAx0Ie1cx/3E0Lc7i2XVKdqD7uCt5OL1wWPm0mxfql6fGsI+NknpWlj90IO2zTXy8heQJpHjUHCFbs1W6cCDS2RGY37vTwXm1SgU7F3q4ix8IEFzDFfM+DU+CS1YWleklpbvVY6UZHBT0SeCO1Y5RGDS3SJTw0NZGVba5cKxbqif9k8koQ=
file: $GOPATH/bin/terraform_provider_vultr-$TRAVIS_COMMIT.tar.gz
skip_cleanup: true
on:
repo: elricsfate/terraform-provider-vultr