From 272aaf728dd2b9f565849092a15bd5299a140925 Mon Sep 17 00:00:00 2001 From: hangy Date: Wed, 24 Jan 2018 21:15:22 +0100 Subject: [PATCH 1/3] Add .travis.yml --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..61386e1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: csharp + +mono: none +dotnet: 2.0.0 + +services: + - docker + +install: + - dotnet restore + +script: + - dotnet build + - dotnet test Gridsum.DataflowEx.Test \ No newline at end of file From 69ce2b211b0d6e523b1b6961bd0137c7be9afcd7 Mon Sep 17 00:00:00 2001 From: hangy Date: Wed, 24 Jan 2018 22:21:52 +0100 Subject: [PATCH 2/3] Add SourceLink support Can be used later or to create debuggable NuGet packages. --- Gridsum.DataflowEx/Gridsum.DataflowEx.csproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gridsum.DataflowEx/Gridsum.DataflowEx.csproj b/Gridsum.DataflowEx/Gridsum.DataflowEx.csproj index 3cc6637..dfd0fa6 100644 --- a/Gridsum.DataflowEx/Gridsum.DataflowEx.csproj +++ b/Gridsum.DataflowEx/Gridsum.DataflowEx.csproj @@ -51,5 +51,8 @@ More information is available at: https://github.com/gridsum/dataflowex + + + \ No newline at end of file From 62ce7ea9be79522c5a88c77e7aa5264699734e30 Mon Sep 17 00:00:00 2001 From: hangy Date: Wed, 24 Jan 2018 22:45:32 +0100 Subject: [PATCH 3/3] Add build configuration and try to pack NuPkg. --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 61386e1..e6e0f69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ language: csharp mono: none dotnet: 2.0.0 +env: + - CONFIGURATION=Release + services: - docker @@ -10,5 +13,6 @@ install: - dotnet restore script: - - dotnet build - - dotnet test Gridsum.DataflowEx.Test \ No newline at end of file + - dotnet build -c $CONFIGURATION + - dotnet test -c $CONFIGURATION Gridsum.DataflowEx.Test + - dotnet pack -c $CONFIGURATION Gridsum.DataflowEx \ No newline at end of file