2018-02-13 03:38:52 +03:00
|
|
|
language: go
|
2018-02-19 23:30:17 +03:00
|
|
|
before_install:
|
2018-03-10 05:34:51 +03:00
|
|
|
- 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
|
2018-02-19 23:30:17 +03:00
|
|
|
- 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
|
2018-02-13 03:38:52 +03:00
|
|
|
go:
|
2018-04-13 00:34:35 +03:00
|
|
|
- '1.10.x'
|
2018-02-19 23:30:17 +03:00
|
|
|
script:
|
2018-03-06 02:58:33 +03:00
|
|
|
- go get -u github.com/golang/dep/cmd/dep
|
|
|
|
- dep ensure
|
2018-03-11 21:25:53 +03:00
|
|
|
- ./build $TRAVIS_TAG
|
2018-03-10 05:34:51 +03:00
|
|
|
deploy:
|
2018-03-10 05:52:10 +03:00
|
|
|
provider: script
|
2018-03-12 09:30:33 +03:00
|
|
|
script: ./scripts/publish
|
2018-03-10 06:08:15 +03:00
|
|
|
skip_cleanup: true
|
2018-03-10 05:34:51 +03:00
|
|
|
on:
|
2018-03-10 05:52:10 +03:00
|
|
|
tags: true
|
2018-03-11 20:51:47 +03:00
|
|
|
branch: master
|