Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
90226fe5
Commit
90226fe5
authored
Aug 31, 2017
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alright Appveyor, let's play ball.
parent
4a7f4e61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
appveyor.yml
appveyor.yml
+1
-2
build.ps1
build.ps1
+6
-1
No files found.
appveyor.yml
View file @
90226fe5
...
@@ -14,8 +14,7 @@ nuget:
...
@@ -14,8 +14,7 @@ nuget:
disable_publish_on_pr
:
true
disable_publish_on_pr
:
true
build_script
:
build_script
:
-
cmd
:
.\RedisConfigs\start-all.cmd && exit 0
-
ps
:
.\build.ps1 -LaunchServers -BuildNumber "$env:APPVEYOR_BUILD_NUMBER" -Version "$env:APPVEYOR_REPO_TAG_NAME" -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages $true
-
ps
:
.\build.ps1 -BuildNumber "$env:APPVEYOR_BUILD_NUMBER" -Version "$env:APPVEYOR_REPO_TAG_NAME" -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages $true
test
:
off
test
:
off
artifacts
:
artifacts
:
...
...
build.ps1
View file @
90226fe5
...
@@ -4,6 +4,7 @@ param(
...
@@ -4,6 +4,7 @@ param(
[
string
]
$BuildNumber
,
[
string
]
$BuildNumber
,
[
bool
]
$CreatePackages
,
[
bool
]
$CreatePackages
,
[
bool
]
$RunTests
=
$true
,
[
bool
]
$RunTests
=
$true
,
[
switch
]
$LaunchServers
,
[
string
]
$PullRequestNumber
[
string
]
$PullRequestNumber
)
)
...
@@ -64,7 +65,11 @@ if ($PullRequestNumber) {
...
@@ -64,7 +65,11 @@ if ($PullRequestNumber) {
$CreatePackages
=
$false
$CreatePackages
=
$false
}
}
if
(
$RunTests
)
{
if
(
$LaunchServers
)
{
& .\RedisConfigs\start-all.cmd
}
if
(
$RunTests
)
{
dotnet restore /ConsoleLoggerParameters:Verbosity
=
Quiet
dotnet restore /ConsoleLoggerParameters:Verbosity
=
Quiet
foreach
(
$project
in
$testsToRun
)
{
foreach
(
$project
in
$testsToRun
)
{
Write-Host
"Running tests:
$project
(all frameworks)"
-ForegroundColor
"Magenta"
Write-Host
"Running tests:
$project
(all frameworks)"
-ForegroundColor
"Magenta"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment