-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 1.46 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
language: go
matrixc:
include:
- go: 1.10.x
- go: 1.11.x
before_install:
- go get -u github.com/kardianos/govendor
- govendor sync
env:
- GO11MODULE=on
install: true
script:
- go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic
- GOOS=linux GOARCH=386 go build -o mockApiHub_linux32 main.go
- GOOS=linux GOARCH=amd64 go build -o mockApiHub_linux64 main.go
- GOOS=windows GOARCH=386 go build -o mockApiHub_win32.exe main.go
- GOOS=windows GOARCH=amd64 go build -o mockApiHub_win64.exe main.go
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: BQ46KN5lMMefGVTaj00i2B+OxaogfL+R99WyPOi/CZeLZLDhd8deRcum6SMo6aUNt//nUn+pq9NEk5q43dNTa9lyWusK5fLOjXPMCLYSByOaBSQMpJ3COBAMbSDEHGvzqNQDcoFWzGQEIDNsmPv7eiY+YagFwfzzh9eViTnZwmeCWFuPehXVREVbPEuv4hi8JzDYHec9nIgbUByCnHC8o4mFNy9qOO/rfvIVC3hhEYIsRE324v5Em4QOHANIRZZ0niL4DSVusaDvn8blunu7AoWspA2qXJlLsahU0JYks6qYO+Vm8rW6c8cP1Y0T6i4dHLLDN2nVGFo6QOIkNYSDdCMGtqKcEjXyCDF82E35egSh7OfjNL4yCfYZP/BITpGsW/loKu42smlEhrQPQRn+uGDSPYGpfJj2r3hbutCPjKARi6EvhRBmLYsXHE7zefhV7f256VrnU+t84pRhulxy+d9d0eygiK7HnggB5DaM9y9Hcn+oK4VLpJifGPuid46TQyzEvp3tBvf7AnhaWwj1ygYZwIPROFcKzumjb8DEWCMj5T48WMVCO4CT25x1G2Nv4APxYjj0VV5ium/EB9+CJY4qawBjRY/veUrf8OP2FFblFt/bv9qDYZYhpSaoVfEpO7H5xYiJc9QdCOKq81/f1YGjybX1FZ4ztBJkTFtUciw=
file:
- mockApiHub_linux32
- mockApiHub_linux64
- mockApiHub_win32.exe
- mockApiHub_win64.exe
on:
repo: wcsanders1/MockApiHub
tags: true