-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
43 lines (39 loc) · 3.54 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
40
41
42
43
language: go
go: '1.11.x'
services:
- docker
- redis-server
env:
global:
- secure: 2I0+pzIvKKi9RbmAjOBCS4gQFf7+KTDLIcGpoTPsvMUG6XMRiv5WUV0GWGRtKEpBs/iHOEOL2OkCI1SsN/mMyK/HcRLyotVDht12KILhmQxc5+ApawcaoU0LM4pnMthOztm3y+jX58F8NBqksLt3JCSinLr4eX/wTjsaJnjnGjncACFEiXUZK2566rFoTpJZR+UOCvhGGK6Nq8OWgh4K3OHAIeJB7xjGI8R3YTHkWtqhgQZAmMCbjxQHASqbfgYAFrMwvajnHWUpKtULLt1h4h6VDKoCE7yWyTGiF/8jQ4jDswlwfkRKZhG08AFtQQWf0ow3ojuZzz2SnmzV31zK73hLTuDHBCr3tjMAV69ErdK15FAvgCdlfQS1/MCNOsVcYRhpsNV79Qt644oS7yOh4uJglh9bx49cd1BiEremzsbxNK2MA2s6RmW0dG2ROYeHNXpcowPJIfuKFdHtDhTyza8qLQEiFAGYG64lJ87Hm4SYOT59aoAT7l3wSM+U9uTC8+PS/OyBTfanFe8jJ5L9OVL6v6SRzhLOPxrgcjSCn9HkUIzpRMlxnY4RMFVQ/tdpLl5s/9GRoEk2P3gimIgNlkzid6EzJ3XfcOmxm95RMbH2bBAg4a8qegFT4Q1+j2NnJ4f3AW8e20LQ3x4lPjz+MYtIdLeXLemiIEo2UECsTWU=
- secure: fVf1QTPl1+RWTLO1SCSGglXIgzhQVKBGRqNovE2vJRIxCNqV+qYTXXw/LG3OC3KxMYoyOtV26RTM6CpRqb8ZDn3+1UTi2XRJqtad+CKpPxLn6aWd3wy2lo+FmzAFeHS80LtH/kDumY7joBY6uDQht2buN7k48ZOmydVfQjWxvWfic6AhgjSaAOPWCvVyMi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z40lZo+3yqga+elBHAWTkfflJ+tx+r/uDAfQhnHrBu6QVMOWejWktHGv6gEsawf8HTG+TtOGn3hpYAwQCgEJH9TSZHpZtqJIZAZvUFCryB89qjrMzRIU=
- secure: igx4biTUX8vlp3bW+BasJs5uCAvZpXDdNdFmyUeglwenS3NKAu0Y1fLiL+P0vv5sBNYx/8ABnKzy2y+1nTlEOSLSjd/O6Lcy2BLeifRfsJVmjrM8hHNChFpAObl36GmWCuoUBHiAnxGcobhw+wdtbwXLldFPK+aGjrVpJGz0fxacGH5taDfQJZbZQAuwSf8mBowTbV/qtSt0ARxoI3sNRW6gt0+xZ4fyhDw7rQFfoVDngWZ+HpdH9osKBT1Bbtf3RihXWrSicqRIKBnEVW5yAkz0gpB7jVDUOSOQ97J96Oor6MvgFTSIcx4uCCbI7DEZrT8Q9e4TjNpMBvgOuycV8ExqCBbtnkUvi30sLdaVmwz6ReOAKo2gf2jo/OQvM9y1Qy242boweRgSSk5PdA8CgaM1T4fAao+xmIAdQRlS9LiJ/Bb7eqXZ4zXWwo7mXS56mInEFGDWff4TYAvtjMpnc3zFKUT8dICKmBI6OAPhxXzKkGvQamyMbM08pEzTVq1J70wh97q5vxt7LYv8JM07rc9uGmQw020asn7iAkOso78ifugXn7IsO86NR6enQkLLPXcF1oSFDnTgImozOxtjPimQEz17DttX2iGasjQIo0EBCItJJ90V6l5NNMsc6vs3O3M5l0TniyMrKPe6Gq8NhljK58921Hh8mS+55bg73yE=
before_install:
- export COVERALLS_PARALLEL=true
- export GOMAXPROCS=1
- export GITHUB_TOKEN=$GITHUB_TOKEN_RELEASE
- go get github.com/mattn/goveralls
script:
- make test-docker
- "$GOPATH/bin/goveralls -repotoken $COVERALLS -coverprofile=profile.cov -service=travis-ci"
- make build
- test -f bin/linux-amd64/server
- make container
- docker images | grep meio/go-swap-server
deploy:
- provider: script
skip_cleanup: true
script: ./scripts/build-docker.sh
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
notifications:
webhooks:
urls: https://coveralls.io/webhook?repo_token=$COVERALLS