File tree Expand file tree Collapse file tree 8 files changed +85
-1668
lines changed Expand file tree Collapse file tree 8 files changed +85
-1668
lines changed Original file line number Diff line number Diff line change
1
+ language : csharp
2
+
3
+ # dotnet cli require Ubuntu 14.04
4
+ sudo : required
5
+ dist : trusty
6
+
7
+ # dotnet cli require OSX 10.10
8
+ osx_image : xcode7.1
9
+
10
+ addons :
11
+ apt :
12
+ packages :
13
+ - gettext
14
+ - libcurl4-openssl-dev
15
+ - libicu-dev
16
+ - libssl-dev
17
+ - libunwind8
18
+ - zlib1g
19
+
20
+ os :
21
+ - osx
22
+ - linux
23
+
24
+ env :
25
+ matrix :
26
+ - CLI_VERSION=1.0.0-preview2-003121
27
+ - CLI_VERSION=Latest
28
+
29
+ matrix :
30
+ allow_failures :
31
+ - env : CLI_VERSION=Latest
32
+
33
+ before_install :
34
+ - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; brew link --force openssl; fi
35
+ # Download script to install dotnet cli
36
+ - if test "$CLI_OBTAIN_URL" == ""; then export CLI_OBTAIN_URL="https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2/scripts/obtain/dotnet-install.sh"; fi
37
+ - curl -L --create-dirs $CLI_OBTAIN_URL -o ./scripts/obtain/install.sh
38
+ - find ./scripts -name "*.sh" -exec chmod +x {} \;
39
+ - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
40
+ # use bash to workaround bug https://github.com/dotnet/cli/issues/1725
41
+ - sudo bash ./scripts/obtain/install.sh --channel "preview" --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR" --no-path
42
+ # add dotnet to PATH
43
+ - export PATH="$DOTNET_INSTALL_DIR:$PATH"
44
+
45
+ script :
46
+ - ./build.sh
Original file line number Diff line number Diff line change @@ -11,5 +11,6 @@ Push-Location src/Serilog.Sinks.Splunk
11
11
& dotnet pack - c Release - o ..\..\.\artifacts -- version- suffix= $revision
12
12
if ($LASTEXITCODE -ne 0 ) { exit 1 }
13
13
14
+
14
15
Pop-Location
15
16
Pop-Location
Original file line number Diff line number Diff line change 1
- ##2 .0 (RC)
1
+ ##2 .0
2
2
- Support for DotNet Core
3
3
- Event Collector Sink targeting core
4
- - TCP/UDP Sinks targeting 4.5
4
+ - TCP/UDP Sinks targeting 4.5 * ONLY *
5
5
- Changed HTTP Client to include URI endpoint to host: "services/collector/event"
6
+ - Event Collector changed to use epoch time [ #15 ] ( https://github.com/serilog/serilog-sinks-splunk/pull/15 )
6
7
7
8
##1 .8
8
9
- Event Collector changed to use epoch time [ #15 ] ( https://github.com/serilog/serilog-sinks-splunk/pull/15 )
Original file line number Diff line number Diff line change 1
1
version : ' {build}'
2
+ skip_tags : true
2
3
image : Visual Studio 2015
3
4
configuration : Release
4
5
install :
5
6
- ps : mkdir -Force ".\build\" | Out-Null
6
- - ps : Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
7
+ - ps : Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2 /scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
7
8
- ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
8
- - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath'
9
+ - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-003121 '
9
10
- ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
10
11
build_script :
11
12
- ps : ./Build.ps1
@@ -18,4 +19,11 @@ deploy:
18
19
secure : nvZ/z+pMS91b3kG4DgfES5AcmwwGoBYQxr9kp4XiJHj25SAlgdIxFx++1N0lFH2x
19
20
skip_symbols : true
20
21
on :
21
- branch : /^(dev|master)$/
22
+ branch : /^(dev|master)$/
23
+ - provider : GitHub
24
+ auth_token :
25
+ secure : ggZTqqV1z0xecDoQbeoy3A7xikShCt9FWZIGp95dG9Fo0p5RAT9oGU0ZekHfUIwk
26
+ artifact : /Serilog.*\.nupkg/
27
+ tag : v$(appveyor_build_version)
28
+ on :
29
+ branch : master
Original file line number Diff line number Diff line change 2
2
dotnet restore
3
3
for path in src/* /project.json; do
4
4
dirname=" $( dirname " ${path} " ) "
5
- dotnet build ${dirname} -c Release
5
+ dotnet build ${dirname}
6
6
done
7
7
8
8
for path in sample/project.json; do
9
9
dirname=" $( dirname " ${path} " ) "
10
- dotnet build ${dirname} -c Release
10
+ dotnet build ${dirname}
11
11
done
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 2.0.0-rc-* " ,
2
+ "version" : " 2.0.0" ,
3
3
"buildOptions" : {
4
4
"emitEntryPoint" : true
5
5
},
6
6
"dependencies" : {
7
7
"Microsoft.NETCore.App" : {
8
8
"type" : " platform" ,
9
- "version" : " 1.0.0-rc2-3002702 "
9
+ "version" : " 1.0.0"
10
10
},
11
11
"Serilog.Sinks.Splunk" : {"target" : " project" },
12
- "Serilog.Sinks.Literate" : " 2.0.0-rc-25 "
12
+ "Serilog.Sinks.Literate" : " 2.0.0"
13
13
},
14
14
"frameworks" : {
15
15
"netcoreapp1.0" : {
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 2.0.0-rc-* " ,
2
+ "version" : " 2.0.0" ,
3
3
"description" : " The Splunk Sink for Serilog" ,
4
4
"authors" : [
5
5
" Matthew Erbs, Serilog Contributors"
17
17
"iconUrl" : " http://serilog.net/images/serilog-sink-nuget.png"
18
18
},
19
19
"buildOptions" : {
20
- "keyFile" : " ../../assets/Serilog.snk " ,
20
+
21
21
"xmlDoc" : true
22
22
},
23
23
"dependencies" : {
24
- "Serilog" : " 2.0.0-rc-556 "
24
+ "Serilog" : " 2.0.0"
25
25
},
26
26
"frameworks" : {
27
+ "net4.5" : {
28
+ "buildOptions" : {
29
+ "define" : [ " TCP" , " UDP" ]
30
+ },
31
+ "frameworkAssemblies" : {
32
+ "System.Net.Http" : " "
33
+ },
34
+ "dependencies" : {
35
+ "Splunk.Logging.Common" : " 1.6.0"
36
+ }
37
+ },
27
38
"netstandard1.1" : {
28
39
"dependencies" : {
29
- "System.Collections" : " 4.0.11-rc2-24027 " ,
30
- "System.Collections.Concurrent" : " 4.0.12-rc2-24027 " ,
31
- "System.Runtime" : " 4.1.0-rc2-24027 " ,
32
- "System.Threading" : " 4.0.11-rc2-24027 " ,
33
- "System.Net.Http" : " 4.0.1-rc2-24027 "
40
+ "System.Collections" : " 4.0.11" ,
41
+ "System.Collections.Concurrent" : " 4.0.12" ,
42
+ "System.Runtime" : " 4.1.0" ,
43
+ "System.Threading" : " 4.0.11" ,
44
+ "System.Net.Http" : " 4.1.0 "
34
45
}
35
46
}
36
47
}
You can’t perform that action at this time.
0 commit comments