forked from mxschmitt/golang-url-shortener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 2.01 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
language: go
go:
- stable
cache: yarn
services:
- docker
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install
script:
- make
- goveralls -service=travis-ci -ignore="internal/handlers/static.go,internal/handlers/tmpls/tmpls.go"
- make buildDockerImage
- 'if [[ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" = "master" ]]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" && docker push mxschmitt/golang_url_shortener && docker push mxschmitt/golang_url_shortener:arm; fi'
deploy:
provider: bintray
user: mxschmitt
file: "build/bintray.json"
skip_cleanup: true
key:
secure: "DI10OBnQmWPB76j31uDrb0gkv1eAkwBfk4xLC4xf7qHuAzqAOTVhmO9e/yCOVsUMzPH5Nxehfb/bsKL55Gx72+tbIdOTqNn5Tf9ZbxqpZ7UEs6JJUoiL2iU+CY5r4XJvM+0TtQxrOLFWKrRygIl81KHY9M/GMDwCQuVPAIebyquptya+w+CrckhR5k7jKDdFQZLWc6cOHLZ8+DDccv+hnQvypro7OahTF1Ehn3NCaTOLFkFB0pjXFtSqYSJJXJVj9dCEMcPccPMGc3MTkoYTyLmWXLoGELJphIftQXCoPL4BmJKzL12rk1+Vyx4I6hvdDOLiobNUE/LApBke77UkHpmzPWoD1ym2nkxVNAemCGcumn6kZK8K4VRQrA/OvM9i4kDFyFo8wOW8InQC39M1N0OcfQF9ZgktCD76E+AxVruashf9j9N0noBif0xbyCVu9kNn6uqFvKxTQPMtMSlS70NubOFQlmv/qSFfGSEyJ10p69b38DhQV1sLX/JgEbcOh45xazkDD+M8tRV9zCqEPs1wiE6Dx3Z/+5mM9hKkhNvF0pBIAkKiiBQoIcT/xO0i9+6hYww89/6My3eXaS6Ce/VszqV0t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