adx-automation-agent/.travis.yml

21 строка
607 B
YAML

language: go
before_install:
- echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ `lsb_release
-cs` main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
- sudo apt-key adv --keyserver packages.microsoft.com --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893
- sudo apt-get install -y apt-transport-https
- sudo apt-get -qq update && sudo apt-get install -y azure-cli
go:
- '1.9'
script:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- ./build $TRAVIS_TAG
deploy:
provider: script
script: ./scripts/publish
skip_cleanup: true
on:
tags: true
branch: master