forked from jfrog/jfrog-client-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
51 lines (47 loc) · 3.04 KB
/
appveyor.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
44
45
46
47
48
49
50
51
image:
- Visual Studio 2017
build: off
skip_tags: true
stack: go 1.11
clone_folder: c:\gopath\src\github.com\jfrog\jfrog-client-go
environment:
GOPATH: c:\gopath
GO111MODULE: on
JFROG_CLI_RT_URL:
secure: RIh0gGFDn2JAnLUEEqLsQnZ5H3XFWg1s+Qq8Z4i+Xu+FtQf6Tsu2AnfY4/6AaXJ8
JFROG_CLI_RT_USER:
secure: YEB5Wiv9a2vNpUhy+MfL+A==
JFROG_CLI_RT_PASSWORD:
secure: Um8o75MQIieSavIemF4ySA==
JFROG_CLI_DIST_URL:
secure: RIh0gGFDn2JAnLUEEqLsQrfLmtDrzDd5Qphea4gOE0Lu1Uz2Xa/y+D0Mld917gwy
JFROG_CLI_XRAY_URL:
secure: RIh0gGFDn2JAnLUEEqLsQnYytsZwN5ZAIw+0CHigBR3DTUVTl3QVus6IjkdAiFd1
JFROG_CLI_PIPE_URL:
secure: RIh0gGFDn2JAnLUEEqLsQsgqk3sWH5cf3KQBrQr401JR5ZN9+cgd1N/bYnI8p0Mk
JFROG_CLI_PIPE_TOKEN:
secure: sStoT/GxZjEl/toWXau6wanS9NdCTsTxApUZCE7TTt4Wp4lVUwg1OqzdwWNic4R9YnAu90VY+5F/vI7I6Ijl1V/GcSCFLSVEr03rJj7OfzRkt5+obiNNotiBR9cP7bKQrCCAf2044fOukKPrjvZW7cV2tFoBQP8TmetaVmogBk52BMNcC44+MsLmh060htRFroSVbBQ1YzMFfvsKND7t7M4DPaLW+NES2x8Z5yk6yihXl+caB2IHaa8RveDnjtG4/486K+hDXRzloF05pJzdPUVnNfE/Nxh5nWarOGBlx7hVEUTESYLUWcji8xsrK8cwxjRddG/XZaydy4RzHtNZCxyrzjtaW1Y1X/0sZBPW5oVDIdbnpT0y0lBd8xq45Yt8h6FUrAwouqUVPytliTyy5q2fMkP1+1eSGHHZ1fE8shfdC9+/srYWYnjCJZoAVS87Z9uel3Q4gT1MQHU3w/N1KDQD5gx6wUMZlMVsJ4TCe6bmtmqyRW+4gvJ+MnegKgZR4AvB37RlH0LXy+xbP2vx1oPsLRMzuEQzG1DswRKo9QGIfMp8pXdvkbIFY3nS8gAzlGzuvcs4XXRzi2DTcz1xsI4BGCSQMjE6b6woJcVC45WIjZhovlVzkpybM7LKXP1KeecVhcveO+EGYSn1oDCKDNho99czv5kPPb/EWOD/c4whf83y1L7+Dnx0YIj4I5ge4fIV25muTovfYIiOfCEDS6NnQCRSXeAp5HdgWwGlTLJYRoCcDhxn4HB1eJAFgUbAuTZAvDagF4SIkvMrlti43P2k1VJgS9lxrtZUPdXB5jPPz9icoDkvMnRMzuUeeZnYn0zVllnWCS0lB0IJDk3hcHOn9URjkSI56usRQgiz/YmHrzxt8Va4UUkXmGtUmKw+LLYDgclfZ1odu1J4NvgSvA==
JFROG_CLI_PIPE_VCS_TOKEN:
secure: tsVbG2tHaU2b8SbJRR6aOarEkCm4989ZOO6Dt0rADHfUVhsVCY14g9fzNdabICMH
JFROG_CLI_PIPE_VCS_REPO:
secure: CdI9LebqtweJ8CwmDSWnHnYIDOS0mqXkhsuJ8KY/MbldVzl7vGW+OhewnsF1m2kJ
JFROG_CLI_PIPE_VCS_BRANCH:
secure: hkOQt63VlMMUfvRj9cE6Ug==
matrix:
- VET:
TEST_SUIT:
go vet -v ./...
- ARTIFACTORY_TESTS:
TEST_SUIT:
go test -v github.com\jfrog\jfrog-client-go\tests --timeout 0 --test.artifactory=true --rt.url="%JFROG_CLI_RT_URL%" --rt.user="%JFROG_CLI_RT_USER%" --rt.password="%JFROG_CLI_RT_PASSWORD%"
- DISTRIBUTIONS_TESTS:
TEST_SUIT:
go test -v github.com\jfrog\jfrog-client-go\tests --timeout 0 --test.distribution=true --rt.url="%JFROG_CLI_RT_URL%" --ds.url="%JFROG_CLI_DIST_URL%" --rt.user="%JFROG_CLI_RT_USER%" --rt.password="%JFROG_CLI_RT_PASSWORD%"
- XRAY_TESTS:
TEST_SUIT:
go test -v github.com\jfrog\jfrog-client-go\tests --timeout 0 --test.xray=true --rt.url="%JFROG_CLI_RT_URL%" --xr.url="%JFROG_CLI_XRAY_URL%" --rt.user="%JFROG_CLI_RT_USER%" --rt.password="%JFROG_CLI_RT_PASSWORD%"
- PIPELINES_TESTS:
TEST_SUIT:
go test -v github.com\jfrog\jfrog-client-go\tests --timeout 0 --test.pipelines=true --pipe.url="%JFROG_CLI_PIPE_URL%" --pipe.accessToken="%JFROG_CLI_PIPE_TOKEN%" --pipe.vcsToken="%JFROG_CLI_PIPE_VCS_TOKEN%" --pipe.vcsRepo="%JFROG_CLI_PIPE_VCS_REPO%" --pipe.vcsBranch="%JFROG_CLI_PIPE_VCS_BRANCH%"
test_script:
- "%TEST_SUIT%"