From 478d0ac3448819bd6284a3c524545bce74214c92 Mon Sep 17 00:00:00 2001 From: Iurii Medvedev Date: Mon, 29 Jan 2018 09:43:34 +0400 Subject: [PATCH 1/2] add travis release --- .travis.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index eccfa15..968df1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,22 @@ language: go go: 1.9.1 install: - - go get github.com/mitchellh/gox - - go get github.com/hashicorp/terraform - - go get github.com/smartystreets/goconvey/convey - - go get - - go vet - - gox -os "freebsd darwin linux windows" -arch "386 amd64" +- go get github.com/mitchellh/gox +- go get github.com/hashicorp/terraform +- go get github.com/smartystreets/goconvey/convey +- go get +- go vet +- gox -os "freebsd darwin linux windows" -arch "386 amd64" script: - - go test -race -coverprofile=coverage.txt -covermode=atomic - +- go test -race -coverprofile=coverage.txt -covermode=atomic after_success: - - bash <(curl -s https://codecov.io/bash) +- bash <(curl -s https://codecov.io/bash) + +deploy: + provider: releases + api_key: + secure: J2tdeoge01q3exGzEGD0e0kC1NBivOA4EBOOgBIfZ2gpxPkfCULMDIUsfecvD5HMo/HR15AaYAqFmiugdc/Bhu7qNcP2PKQR8UY3SolEdSSWorREPtWwhtfpVNyquMutGGtEgIjaYGbT+n/vt8ht06gbwpRjc0Ujpd0D636w4x2hswnx/68sJTuVJ21fPmZphuD00EqCLewAhHw7PYDqhf5IeNo4sirCrq/xYJ6OYG9ew/7g/gMJGtv/dIt5SRnOaUh7t6yGn4mGHbh292yfnCU+RH+hsyaTE0ZLkGF/AO7bFTxNZ3hF4ozA+YGJXgw4p5iudHsQHdx1Kn/Cc35BSFGMLehkXhR8TRhri4Iyha0IZupGpL3qbet27sXMiM8/mPFbMXdvSdjHfhy2FC6hIQcyQ2nLC110Ss2jDr6kgsGQkLHoYOOZTlh9TPQLiDidCPai5x6oUK/kkd0nc6zMUV2ODLRr7oNH0c+odL9Uo+gaYWAftJ80T8ugDV8p8oRAwVOsfSM+ZNjNrGjkM13RHkvjV8ndjokSXus+kFC/cqSSi+nENOjo6Sv33uKeHIRmlP0t24G/OoXpfD1MNd4wiECnFJ5Kcot1Fofd9lGcph6Igdc2kjv0l6Rx/HdnbnOcPANX5aumHnTLcMe/62Uy3Cdk/C9NanVuFADm4LP8VAw= + file: terraform-provider-virtualbox* + on: + repo: pyToshka/terraform-provider-virtualbox + branch: dev From ea69b89867adc6bf5458d0cb22c40df93cd96631 Mon Sep 17 00:00:00 2001 From: Iurii Medvedev Date: Mon, 29 Jan 2018 09:56:29 +0400 Subject: [PATCH 2/2] add travis release --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 968df1b..5e8221f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,9 @@ deploy: api_key: secure: J2tdeoge01q3exGzEGD0e0kC1NBivOA4EBOOgBIfZ2gpxPkfCULMDIUsfecvD5HMo/HR15AaYAqFmiugdc/Bhu7qNcP2PKQR8UY3SolEdSSWorREPtWwhtfpVNyquMutGGtEgIjaYGbT+n/vt8ht06gbwpRjc0Ujpd0D636w4x2hswnx/68sJTuVJ21fPmZphuD00EqCLewAhHw7PYDqhf5IeNo4sirCrq/xYJ6OYG9ew/7g/gMJGtv/dIt5SRnOaUh7t6yGn4mGHbh292yfnCU+RH+hsyaTE0ZLkGF/AO7bFTxNZ3hF4ozA+YGJXgw4p5iudHsQHdx1Kn/Cc35BSFGMLehkXhR8TRhri4Iyha0IZupGpL3qbet27sXMiM8/mPFbMXdvSdjHfhy2FC6hIQcyQ2nLC110Ss2jDr6kgsGQkLHoYOOZTlh9TPQLiDidCPai5x6oUK/kkd0nc6zMUV2ODLRr7oNH0c+odL9Uo+gaYWAftJ80T8ugDV8p8oRAwVOsfSM+ZNjNrGjkM13RHkvjV8ndjokSXus+kFC/cqSSi+nENOjo6Sv33uKeHIRmlP0t24G/OoXpfD1MNd4wiECnFJ5Kcot1Fofd9lGcph6Igdc2kjv0l6Rx/HdnbnOcPANX5aumHnTLcMe/62Uy3Cdk/C9NanVuFADm4LP8VAw= file: terraform-provider-virtualbox* + file_glob: true + skip_cleanup: true + on: repo: pyToshka/terraform-provider-virtualbox - branch: dev + tags: true