forked from matt-deboer/mpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 2.72 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
language: go
services:
- docker
go:
- 1.8
addons:
apt:
packages:
- upx-ucl
before_install:
- go get github.com/mattn/goveralls
install:
- go get github.com/golang/dep/cmd/dep
- dep ensure
script:
- make release
- upx bin/mpp
- $HOME/gopath/bin/goveralls -service=travis-ci
after_deploy:
- make docker VERSION=$TRAVIS_TAG
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=mattdeboer/mpp
- docker push $REPO:$TRAVIS_TAG
- docker push $REPO:${TRAVIS_TAG}-alpine
- docker tag $REPO:$TRAVIS_TAG $REPO:latest
- docker push $REPO:latest
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: zvAhKyLPoVPx28X4mJAol7NGkgRnlp0rzXFjzWFsHYHIo/ZpDDuMOfuD+nO6Le3d+SPSQre5Nw0T9E/bXe3HmPFRv/xznXWooKK1k1RPPuWXx0O21sZReUah4cE0SaQGxodt9PqdHqRCjAChXC5Grdcw3fjpNfXR0gg2yYgM9h/Zd96Od/KU4reTlgG/tRw7k/UZSRvA7wqtUwfiaiKJdYUQuk1xIKgxwlZEmglj+RCgWQEYu/h+EM+ZIpGyLvbS8HuCRT+TpLedlh6R892+8bYDt/NqE6Cx/MbdqAj5FS70Yx4ksJ1ZJWSBEaHKz5yaP53E3eW5aVpIWYutQV4JVR7rkIMALn8pYKp4Tqlw06jGRerLgMz1FHev4ia34bb14ALX/EM31t34YrbfDwOQzXT4hp701DafDJLMXJJt8u7j2d1WrZ23DIRIGsq4gYG+dWQpDXPSK2MByPqGNGtUObUpWvnrp2ZD93ZhZFp6W4NQHGthxgTVPScJ3MLVexxFNHWu55nTA7enjQEMtU6AWNgB+NS9i1lkxrs4szA+EI3XAW4V4RVD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