File tree Expand file tree Collapse file tree 6 files changed +48
-11
lines changed
src/LearningCSharp.Service Expand file tree Collapse file tree 6 files changed +48
-11
lines changed Original file line number Diff line number Diff line change
1
+ image : f799/learning:latest
2
+ stages :
3
+ - build
4
+ - test
5
+ job1 :
6
+ stage : build
7
+ script :
8
+ - dotnet --version
9
+ - dotnet --info
10
+ - dotnet restore
11
+ - pwd
12
+ - ls -sl
13
+ - cd test/LearningCSharp.Test
14
+ - dotnet build
15
+ - cd src/LearningCSharp.Service
16
+ - dotnet build
17
+ only :
18
+ - master
19
+ tags :
20
+ - docker
21
+
22
+ job2 :
23
+ stage : test
24
+ script :
25
+ - cd test/LearningCSharp.Test
26
+ - dotnet restore
27
+ - dotnet build
28
+ - dotnet test
29
+ only :
30
+ - master
31
+ tags :
32
+ - docker
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ RUN apt-get -y install curl
59
59
# RUN mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
60
60
# # https://github.com/dotnet/core/blob/master/release-notes/download-archive.md
61
61
RUN sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
62
- RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B02C46DF417A0893
62
+ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
63
63
RUN apt-get update
64
64
RUN apt-get -y install dotnet-dev-1.0.4
65
65
@@ -79,5 +79,10 @@ RUN sh -c 'echo "deb http://download.mono-project.com/repo/debian wheezy/snapsho
79
79
RUN apt-get update
80
80
RUN apt-get -y install mono-complete
81
81
RUN apt-get -y install mono-devel referenceassemblies-pcl
82
+ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
83
+ RUN sh -c 'echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.6.0.245 main" > /etc/apt/sources.list.d/mono-xamarin.list'
84
+ RUN apt-get update
85
+ RUN apt-get -y install mono-complete
86
+ RUN apt-get -y install mono-devel referenceassemblies-pcl
82
87
RUN apt-get -y install curl
83
- ENV DEBIAN_FRONTEND teletype
88
+ ENV DEBIAN_FRONTEND teletype
Original file line number Diff line number Diff line change 3
3
[ ![ Join the chat at https://gitter.im/f7q/learning ] ( https://badges.gitter.im/f7q/learning.svg )] ( https://gitter.im/f7q/learning?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge )
4
4
learning Github
5
5
6
- | Circle CI| MyGet CI| Travis CI| Appveyor CI|
7
- | :-------:| :------:| :------:| :------:|
8
- | [ ![ Circle CI] ( https://circleci.com/gh/f7q/learning.svg?style=svg )] ( https://circleci.com/gh/f7q/learning ) | [ ![ learning MyGet Build Status] ( https://www.myget.org/BuildSource/Badge/learning?identifier=51208b8b-a669-446a-9ce5-c271dda9d59c )] ( https://www.myget.org/ ) | [ ![ Build Status] ( https://travis-ci.org/f7q/learning.svg?branch=master )] ( https://travis-ci.org/f7q/learning ) | [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/2a8ootborxq0689u?svg=true )] ( https://ci.appveyor.com/project/f7q/learning ) |
6
+ | Circle CI| MyGet CI| Travis CI| Appveyor CI| GitLab CI |
7
+ | :-------:| :------:| :------- :| :---------: | :- ------:|
8
+ | [ ![ Circle CI] ( https://circleci.com/gh/f7q/learning.svg?style=svg )] ( https://circleci.com/gh/f7q/learning ) | [ ![ learning MyGet Build Status] ( https://www.myget.org/BuildSource/Badge/learning?identifier=51208b8b-a669-446a-9ce5-c271dda9d59c )] ( https://www.myget.org/ ) | [ ![ Build Status] ( https://travis-ci.org/f7q/learning.svg?branch=master )] ( https://travis-ci.org/f7q/learning ) | [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/2a8ootborxq0689u?svg=true )] ( https://ci.appveyor.com/project/f7q/learning ) | [ ![ build status ] ( https://gitlab.com/f7Q/learning1/badges/master/build.svg )] ( https://gitlab.com/f7Q/learning1/commits/master ) |
9
9
10
10
- C#
11
11
- dotnet Core
Original file line number Diff line number Diff line change 1
1
version : 1.0.{build}
2
2
branches :
3
3
only :
4
- - UpdateSDK
4
+ - master
5
5
build_script :
6
6
- ps : .\build.ps1
7
7
test : off
Original file line number Diff line number Diff line change 6
6
<AssemblyName >LearningCSharp.Service</AssemblyName >
7
7
<OutputType >Exe</OutputType >
8
8
<PackageId >LearningCSharp.Service</PackageId >
9
- <RuntimeFrameworkVersion >1.0.4 </RuntimeFrameworkVersion >
9
+ <RuntimeFrameworkVersion >1.0.5 </RuntimeFrameworkVersion >
10
10
<PackageTargetFallback >$(PackageTargetFallback);dotnet5.6;portable-net45+win8</PackageTargetFallback >
11
11
</PropertyGroup >
12
12
17
17
</ItemGroup >
18
18
19
19
<ItemGroup >
20
- <PackageReference Include =" Microsoft.AspNetCore.Mvc" Version =" 1.0.3 " />
21
- <PackageReference Include =" Microsoft.AspNetCore.Server.IISIntegration" Version =" 1.0.2 " />
22
- <PackageReference Include =" Microsoft.AspNetCore.Server.Kestrel" Version =" 1.0.3 " />
20
+ <PackageReference Include =" Microsoft.AspNetCore.Mvc" Version =" 1.0.4 " />
21
+ <PackageReference Include =" Microsoft.AspNetCore.Server.IISIntegration" Version =" 1.0.3 " />
22
+ <PackageReference Include =" Microsoft.AspNetCore.Server.Kestrel" Version =" 1.0.4 " />
23
23
<PackageReference Include =" Microsoft.Extensions.Configuration.EnvironmentVariables" Version =" 1.0.2" />
24
24
<PackageReference Include =" Microsoft.Extensions.Configuration.FileExtensions" Version =" 1.0.2" />
25
25
<PackageReference Include =" Microsoft.Extensions.Configuration.Json" Version =" 1.0.2" />
Original file line number Diff line number Diff line change 7
7
<PackageId >LearningCSharp.Test</PackageId >
8
8
<GenerateRuntimeConfigurationFiles >true</GenerateRuntimeConfigurationFiles >
9
9
<PackageTargetFallback >$(PackageTargetFallback);dotnet5.6;portable-net451+win8</PackageTargetFallback >
10
- <RuntimeFrameworkVersion >1.0.1 </RuntimeFrameworkVersion >
10
+ <RuntimeFrameworkVersion >1.0.5 </RuntimeFrameworkVersion >
11
11
</PropertyGroup >
12
12
13
13
<ItemGroup >
You can’t perform that action at this time.
0 commit comments