-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (21 loc) · 2.47 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
language: go
go:
- '1.10'
services:
- docker
env:
global:
- secure: aVAjA5EOXzWdasOpBGKgchJK0bwCYpshgFvXMxgYaksYMjLnEkfh6T0GoL/ZtPPatUhsiKl+tUvxCRMeDqOrs6SLL6mHZ6uqqwiyMsIrkKNNMSCKVZmE0/ElfhXtZTgJxPBG7HTJmNZFcV95dnOMq+kpF92AubJxRMTX95d+eHNU5q6QL5gXfxD+BCtSs6rLl92megTcW1AMV0D/i53ENuv0kNaYptMder89DmFGzPeIrLHxhpdel1G1RGDwpqBZAJwbv/6IV0v31jQwHlu3AvgssMZSDePqoWY8ReAMSU53RlCSafskiUkHClRl45WhFjbQZdOgq+xvgudUCB9HTafrXFHKPE/APD8VMLreMHjtZG9oTg6mEuvRKBLCtKlexJb0Oq2xYGXp0l8GxeWKzNT0igeTXV2Dj4rDGUubwG05on3LaV32soLbSM0Ll8LFx8tZOndPdznf+MbU0p+0mozbIOtVQfCXHKS1ZSX5iHjENQn+8Bn33to6ubxuei/Wib7hTsE87UrT0+thJfdIG23rf7ooVLuA27XHgXUp3hyHdrjZqfSVMl0aPCM+mSQnQVhH+yHETwxt8Cqh0zu+CC6feJSligjYfCoH8XoEBUolYX2CQn7OLawWUGhBfobW29v3HjfKG0cRaI3uKF0rcCWnBcIcGevHKGEWOh1/YD0=
- secure: VTUQ11/94PfFYOBAdpdNNagH2jC4IqOfkM5utBYXXkY129EkrWJyKu2uYHdHolm4vsORxXTks7ReT/mRiebG7/CAntoNkqRhcwN1lg7hwkOlHcYybEqv7hPOLEJS3lTpxtiFp4wU3g4nE1dl+bf8ogDfmJA1va8iOSMn1BoKKCOuRlvG0qAIHsAMEhEjdjcQCr1khLiTq2536z7spAbrKKFEatxkfsQusTAx0shwWCOPDPIg38S4m9lvCn+W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qzOE1XmEdBz1svECHVjTp30lI7fR+3FKdyL/FVoymPi4Y=
- GIMME_OS=linux GIMME_ARCH=amd64
install:
- make install
script:
- make test
- make
after_success:
- echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- docker build -t jojohappy/luxun:$TAG .
- docker push jojohappy/luxun:$TAG