forked from dotnetGame/MineCase
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
45 lines (42 loc) · 1.1 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
version: 1.0.0-alpha1-{build}
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
configuration: Appveyor
environment:
DOCKER_USER:
secure: goDG0WJjQvZlOe655QTbdA==
DOCKER_PASS:
secure: ONZZJySikYvgDWkBai0mZw==
before_build:
- ps: >-
cd src
dotnet restore
choco install opencover.portable
choco install codecov
build:
project: ./src/
parallel: false
verbosity: minimal
# stop all test and docker buid for refactor
test_script:
- ps: >-
# cd ..\tests
#
# OpenCover.Console.exe -oldstyle -register:user -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test" -output:".\test_coverage.xml"
#
# codecov -f "test_coverage.xml"
deploy_script:
- ps: >-
# docker tag minecase.gateway sunnycase/minecase.gateway:ci-latest-nanoserver
#
# docker tag minecase.server sunnycase/minecase.server:ci-latest-nanoserver
#
# IF ($env:APPVEYOR_REPO_BRANCH -eq "master")
# {
# docker login -u="$env:DOCKER_USER" -p="$env:DOCKER_PASS"
#
# docker push sunnycase/minecase.gateway
#
# docker push sunnycase/minecase.server
# }