forked from Azure/azure-service-bus-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (38 loc) · 3.7 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: go
sudo: false
go:
- 1.x
- 1.11.x
before_install:
- cd ${TRAVIS_HOME}
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get github.com/fzipp/gocyclo
- go get golang.org/x/lint/golint
- cd ${TRAVIS_BUILD_DIR}
jobs:
include:
- stage: integration tests
if: type IN (push, cron)
env:
- secure: S2xZc20LIhEis1gQXTrQID/oezgnpdzEHOfCRAbGsFmnsoyuwoRH4gGPM6Qso9JkJo5yf3qCWzp+yKfH/toK2JSLnU6kNlQeNfc0IJkWXgUgatrBSm1NY9nW56h4J46kFquE3fxgfbVIdZk1RGGzXQksnaW0CvK0+/54QYiyTjwn9CQR5H8pzODgmFeEMsoEqGpTFMWAUE9YlXFvkVFnttNZUeOBfUPrPPvDDg8Q0fRTbH+rDNMXFdMdW/0nmQrCMlEv9EL+wVsTZKiMCXk8pAzx37PNYHZfgibYgvf2QBqN9otTqyP92ZdprweEAMk4lexQL1kvU7k//SRRSL2hxTOxCTXGyZBcLtb9n5Llax/FBxHMrxFDDSQQd4dYMfq1BzHyY0zwJeJ9nDrIxqQEx4qUTRBH577C3PZReERIpd+r5KkDubmkLPItc9t+cAZCBSSbYq+9XLIVnp3Uqx+6bWrfamMHFya1uvn8oKnoyCuMGwyo65kITACFovxu5vGd04NXRi7Pzsq+9kRuZIKulgp6w1tPgj38kanKmHOjhZhhX0crYMnWiUY0qrQTAP1bEk4bh0AhZ/aDb+RoX1fwK5xufkS3RNQyMn35bkFAeXy7eyGKijpGQG1p0J9/pfIqmxMPZsR9VOjQP3Y5vsROFrlZ54xS9cE8s9E8HZkQFBE=
- secure: HP6RES1wZGT1+W80mNLJQbj41BfYpI0pC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4tr8fXV9d/+IhBksK2WfSm/TjHKMja+aWxZMXJ+AGYsiyetqVc3qtXhWo3o/errIF2/wl6Z40NFMizzzSbT5VS8Xn1/eS/YtVhg99GLHL6a7kXS/sUsK7kedySSmaOoTNkwoKEGMU8egV4P6PqlR0MM8oR3nCZedew1CRkEN/JHKM2ZV+Wp6re9o345rguIhVSlZNP/DEVQ38KuQ9x6cDKFziQaT1LHg743tAGZGlRUfXeN7p9l5xRvtMavYt5zFHG/74d1Y=
- secure: U5U8AaP0O/SQdWOfhpGsSCrTxGVi8g+VtyNILy37PEoWgG8dm36XUw7k213m4G6QjZJjhDTsfDkMa2Lfb9DF1yitI2sgECwMnn22XWoPvZUS8JLSbsnMe4kIfZhOqCXbD/SQdyX/oL/5hjJHNPkfJgPpUzfsKCMMrzd4NV6EjxvVuKs8cBecIMt3lIBeOnGEBfMUGQz/gfKXwZ8rMWmX752oVX4bQwQOEMs+stTeESfn2l11olqDyWlzy9Roqz/FEVPeq6d7RTVnJXcwP8BPnc6OM0UpZ2OZbFbVUfvlHywvfq8x31RQpmOidG2TrbbC8XVcEbDLDP78kyR4JgCr+aQz8FChI+aRmpVbNbKdNEHii6XArnygMuzHBqypZIDjDj4zAnODjFmTTuXRvV22691khbdryTDE5nlpilv8icq7HlSWIAdnx2gq9AqpOPYW/5/v1O2A7FSn4wFXKogx37azfDiKSMUIcxrn7rnPAW/M5JTec/k3aVrezLwegzrGOIv4UzLwDSCfd2AjBvAHdy2WZlx71I/awWl3BmSRJA23JaN84+1DkNxUAuRsyES5FOK440c3LZblLs62AThSG5Y1FNufsuRy2WRZV/kjKypuNl5drj2IsmF2+xA7bUmijRobMaq2CwFKXh9mnxmRtCGRnn2sxYibf+fgDn0aUy0=
script:
- curl -sLo /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.12.4/terraform_0.12.4_linux_amd64.zip
- unzip /tmp/terraform.zip -d /tmp
- mkdir -p ~/bin
- mv /tmp/terraform ~/bin
- export PATH="~/bin:$PATH"
- export ARM_SUBSCRIPTION_ID=$(echo $AZURE_SUBSCRIPTION_ID)
- export ARM_CLIENT_ID=$(echo $AZURE_CLIENT_ID)
- export ARM_CLIENT_SECRET=$(echo $AZURE_CLIENT_SECRET)
- export ARM_TENANT_ID=$(echo $AZURE_TENANT_ID)
- export GO111MODULE=on
- make test-cover
- goveralls -coverprofile=cover.out -service=travis-ci
- make destroy-sb
script:
- export GO111MODULE=on
- make