forked from Accenture/Ocaramba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
119 lines (104 loc) · 3.82 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
skip_commits:
files:
- README.md
version: $(frameworkVersion).{build}
branches:
except:
- gh-pages
init:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER"
$env:frameworkVersion = "$env:APPVEYOR_REPO_TAG_NAME"
}
echo 'frameworkVersion' $env:frameworkVersion
echo 'version' $env:appveyor_build_version
echo 'seleniumGridVersion' $env:seleniumGridVersion
echo 'seleniumGridUrl' $env:seleniumGridUrl
if ($isWindows) {
echo Windows:
(Get-WmiObject -class Win32_OperatingSystem).Caption
[System.Environment]::OSVersion.Version
}
echo 'ASPNETCORE_ENVIRONMENT' $env:ASPNETCORE_ENVIRONMENT
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: $(frameworkVersion)
package_version: $(frameworkVersion)
assembly_version: $(frameworkVersion)
file_version: '{version}'
informational_version: '{version}'
environment:
APPVEYOR_RDP_PASSWORD:
secure: 3OiDAcFLoSt3UCnmEU+XgM2d541PAqCNJAPqoiRqwRI=
frameworkVersion: 3.2.6
seleniumGridVersion: selenium-server-standalone-3.141.59.jar
seleniumGridUrl: http://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar
latestNugetUrl: https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
GithubAuthToken:
secure: x9uTnOFLUnZ6DiVhpBBxIJxij33Sz9uAIe+qef6M3sj9+J/AUmpfBmiGgqRabTqs
COVERALLS_REPO_TOKEN:
secure: Yd9hDsMjSmlbmrQ+cqjfLM0qTYWJzAoEnNz4CmWAB6NXr97qwxZ/2ckgnSk8mziE
browserstackuser:
secure: 0JGVozUyY/OYBuPZk2Pbgw==
browserstackkey:
secure: opcJPLrPneM8MyVpapvon/18SF9oGQ0+ylJINJeio78=
testingbotkey:
secure: 1aRAvq8QRbkPLQb7BWdggEqsgd0P8Wbn96zGFb9iBG75eWbexX5n38Zadmxkv2ng
testingbotsecret:
secure: 6hiQzkSN5XvXxWg+idSkvJSaNni9ZTCPwlWZy1s7BkagXFyrfUPmNdRWdWwy08B8
saucelabsusername:
secure: DlenWuQD9Ml7NAMwOkaHcA==
saucelabsaccessKey:
secure: D6Yy/Ng4/rfzsqQmnzwmTtN/Knee3c8/NtI1HgKke2ybA/6WpqP38RQfSHENYECa
APPVEYOR_SSH_KEY: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDs6YyI6KMFUrjDkdvXZqRAFJzAU2WZo6wyodL+xl4erDJuVMnKPXfyec8OnFiCXElk2HDXorz/G6+5jo3j4u2dB5J3WXZtnUR/ZhQmoRi45tOgZP2pWUpWYwAVbNd4dvrqJRCEiRILSAxgZkDSbdRQP7ijp9ekb1E0s5YDr6VY+xSdY75u1QcOgO7dF84hsrbZnhjHIXYwSqffFuD/Occba6HaGMEz2EbD5ZxDZKdjMGobzWds2y6U7mMWBazeGG7iXx4JjlIDSfkOUgejHy669lwCDc+faFFGHRww9Tb2clhLq5MDYvH8oKr/mowi2TtvuLsO6aHaxlodq5O0hQgH appveyor
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
ASPNETCORE_ENVIRONMENT: Linux
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ASPNETCORE_ENVIRONMENT: Windows
before_build:
- dotnet tool install coveralls.net --tool-path packages
- dotnet --version
- dotnet restore
build_script:
- dotnet build --configuration Release /verbosity:minimal "Ocaramba.sln"
after_build:
- ps: >-
if ($isWindows) {
#.\PublishingApiDocumentationOn_gh-pages.ps1
}
for:
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
test_script:
- ps: >-
.\ExecutingTestsOnWindows.ps1
artifacts:
- path: .\**\Ocaramba*.nupkg
name: NuGet
deploy:
- provider: NuGet
api_key:
secure: ylGlPYR6ZGvMbgD6ImLebLe9Q1el/3T/j2ldRbhKXS202w8CG6Bguiazvdfyh5gp
on:
branch: master
appveyor_repo_tag: true
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
test_script:
- ps: >-
./ExecutingTestsOnLinux.ps1
on_finish:
- ps: >-
if ($isWindows) {
#$blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
}
- sh: #export APPVEYOR_SSH_BLOCK=true
- sh: #curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -