File tree 3 files changed +7
-9
lines changed
Examples/MovieProject/MovieProject.Web 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
using Microsoft . AspNetCore ;
2
2
using Microsoft . AspNetCore . Hosting ;
3
3
using NLog . Web ;
4
- using System . Diagnostics . CodeAnalysis ;
5
4
6
5
namespace MovieProject . Web
7
- {
8
- // this code is tested by replicating part of the logic in 'SetupServerFixture.cs'
9
- [ ExcludeFromCodeCoverage ]
6
+ {
10
7
public class Program
11
8
{
12
9
public static void Main ( string [ ] args )
Original file line number Diff line number Diff line change @@ -116,8 +116,7 @@ private void AddHttpDependencies(IServiceCollection services)
116
116
return client ;
117
117
} ) ;
118
118
}
119
-
120
- // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
119
+
121
120
public void Configure ( IApplicationBuilder app , IWebHostEnvironment env )
122
121
{
123
122
if ( env . IsProduction ( ) )
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ before_build:
14
14
# Display .NET Core version
15
15
- cmd : dotnet --version
16
16
# Display minimal restore text
17
- - cmd : dotnet restore --verbosity m
17
+ - cmd : dotnet restore --verbosity m > RestoreResult.txt
18
18
build_script :
19
- - cmd : dotnet build --no-restore --verbosity m --configuration Release
19
+ - cmd : dotnet build --no-restore --verbosity m --configuration Release > BuildResult.txt
20
20
after_build :
21
21
# For once the build has completed
22
22
clone_depth : 1
@@ -25,7 +25,9 @@ test_script:
25
25
on_finish :
26
26
# any cleanup in here
27
27
artifacts :
28
- - path : ' TestResult.txt'
28
+ - path : ' RestoreResult.txt'
29
+ - path : ' BuildResult.txt'
30
+ - path : ' TestResult.txt'
29
31
- path : ' **\*.nupkg'
30
32
name : NugetPackage
31
33
deploy : off
You can’t perform that action at this time.
0 commit comments