-
Notifications
You must be signed in to change notification settings - Fork 53
/
.travis.yml
24 lines (24 loc) · 1.28 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
language: go
go:
- 1.10.x
sudo: required
services:
- docker
script:
- go get -u github.com/kardianos/govendor
- govendor sync
- GOOS=linux CGO_ENABLED=0 go build -v
- make dockbuild
after_success:
- if [ -n "$TRAVIS_TAG" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
docker tag cllunsford/aws-signing-proxy:latest cllunsford/aws-signing-proxy:${TRAVIS_TAG};
docker push cllunsford/aws-signing-proxy:latest; docker push cllunsford/aws-signing-proxy:${TRAVIS_TAG};
fi
deploy:
provider: releases
api_key:
secure: RQm9GudpGXMGE+p3F5AN2oBVLNdzK91SRtUmlxmAgtgiKWp3kNwpQCTAKxajQE2JT/B37rt1+JD2Dw/gUuAQGtZBrko8rHA8HZQjwFyslNoMKWQmKXnWL+VqHD0+cL82pxGrHEc1Whi4PkDFyE4HVsY1rSjZIQmisRsCp1mRLpDoStFRyyk1bFjoXmrWl9A4Gv+jaNaKDerCywfUSsDbdklgWIMqSFqknjdFvnAcZ7wMOSI7BYzuAXncutEfH0g8yUbNB54WcbcDhXym8ZtfLuWzmAnG8URwPbBhWPUPTvP9j/17GnsiaRcy4pnx5VO/eWhViORLk7unoRz3/Z01rn+wph7cufMCrHcJ3b6y/jLfKiH7gvoB1te62EixzXxIIuDw2oI2ITrCzocCGY/v9SW7DtfdG9CXSj7+jLCmXt+X4p+80KonCpORwM2QDmPtTSkR56p3qsbXKuuFY7czfYkhCOgS/EhIeLML4h2dnsju1Q6pvBNdDo3OgeFN2cBC29Lqb7i8g9Oj6s/IqmS0YYbs9JJotVpOvQa/GvCeOcJXGahr1+RbRl0ERx+OyxhIjvvPYQVk7VKbN4FrMQBJRPUmQKEkQbNAD/iFQFl7az2hRlqjp8+VX5Q2k+FvKmCm/w4zlkwVY1ek7RD6SQgpYM12/XpP7UoV5N6qwja6XT0=
file: aws-signing-proxy
on:
repo: cllunsford/aws-signing-proxy
tags: true