From cec5c570b1d90c3d981837e41c56275b0882a172 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 19 Jun 2019 23:25:18 -0700 Subject: [PATCH 1/9] update travis config --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 244414e..c773276 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,4 @@ install: - nuget install NUnit.Console -OutputDirectory testrunner script: - msbuild /p:Configuration=Release -Version 3.9.0 encompass-cs.sln - - mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./test/bin/Release/netcoreapp2.2/encompass-cs.dll + - mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./test/bin/Release/netcoreapp2.1/EncompassECS.Framework.Tests.dll From 72297a69ffc82b94ac53c963c0188133b98c6b21 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 19 Jun 2019 23:36:59 -0700 Subject: [PATCH 2/9] more travis! --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c773276..4d58be7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ dist: xenial language: csharp solution: encompass-cs.sln +mono: none install: - nuget restore encompass-cs.sln - - nuget install NUnit.Console -OutputDirectory testrunner + - nuget install NUnit.Console -Version 3.9.0 -OutputDirectory testrunner script: - - msbuild /p:Configuration=Release -Version 3.9.0 encompass-cs.sln + - msbuild /p:Configuration=Release encompass-cs.sln - mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./test/bin/Release/netcoreapp2.1/EncompassECS.Framework.Tests.dll From ce1baf334503bd0d5348bb98e7228728962cb1fe Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 19 Jun 2019 23:38:02 -0700 Subject: [PATCH 3/9] welp need mono --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4d58be7..b2f376d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ dist: xenial language: csharp solution: encompass-cs.sln -mono: none install: - nuget restore encompass-cs.sln From 5cd6c5f96764659e38fefd548c8c06fa3a1f465e Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 19 Jun 2019 23:53:20 -0700 Subject: [PATCH 4/9] using dotnet test --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2f376d..4448f6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ solution: encompass-cs.sln install: - nuget restore encompass-cs.sln - - nuget install NUnit.Console -Version 3.9.0 -OutputDirectory testrunner script: - msbuild /p:Configuration=Release encompass-cs.sln - - mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./test/bin/Release/netcoreapp2.1/EncompassECS.Framework.Tests.dll + - dotnet test From 8e17ad73311e6079a02cce02a4a026b82972259f Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Thu, 20 Jun 2019 00:10:46 -0700 Subject: [PATCH 5/9] try it again!! --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4448f6c..11c43d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,10 @@ dist: xenial language: csharp solution: encompass-cs.sln -install: +before_install: + - sudo apt-get install nunit-console +before_script: - nuget restore encompass-cs.sln script: - msbuild /p:Configuration=Release encompass-cs.sln - - dotnet test + - nunit-console ./test/bin/Release/netcoreapp2.1/EncompassECS.Framework.Tests.dll From b129b20667efd5a0fe1017c7a22874da50a7adba Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Thu, 20 Jun 2019 00:28:12 -0700 Subject: [PATCH 6/9] maybe this will work!!! --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 11c43d1..29a153d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,9 @@ dist: xenial language: csharp solution: encompass-cs.sln -before_install: - - sudo apt-get install nunit-console -before_script: +install: - nuget restore encompass-cs.sln + - nuget install NUnit.Runners -Version 3.2.0 -OutputDirectory testrunner script: - msbuild /p:Configuration=Release encompass-cs.sln - - nunit-console ./test/bin/Release/netcoreapp2.1/EncompassECS.Framework.Tests.dll + - mono ./testrunner/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe ./test/bin/Release/netcoreapp2.1/EncompassECS.Framework.Tests.dll From f94d2c018fcf4d79243a8de59e83dd0e1a713353 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Thu, 20 Jun 2019 00:44:20 -0700 Subject: [PATCH 7/9] lets try dotnet --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 29a153d..4666e8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,9 @@ dist: xenial language: csharp solution: encompass-cs.sln +mono: none +dotnet: 2.1.502 -install: - - nuget restore encompass-cs.sln - - nuget install NUnit.Runners -Version 3.2.0 -OutputDirectory testrunner script: - - msbuild /p:Configuration=Release encompass-cs.sln - - mono ./testrunner/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe ./test/bin/Release/netcoreapp2.1/EncompassECS.Framework.Tests.dll + - dotnet restore + - dotnet test From 816dd4a6f87ed4039c8d9d72572e798cb1cc883a Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Thu, 20 Jun 2019 00:59:15 -0700 Subject: [PATCH 8/9] deploy on tag --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4666e8c..f1d9c4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,11 @@ dotnet: 2.1.502 script: - dotnet restore - dotnet test + +deploy: + skip_cleanup: true + provider: script + script: dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE + on: + tags: true + repo: encompass-ecs/encompass-cs From c93320b1a2c51c78e88a4785a05a710bd9522d92 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Thu, 20 Jun 2019 01:05:34 -0700 Subject: [PATCH 9/9] release config --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f1d9c4d..22fb9ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ dotnet: 2.1.502 script: - dotnet restore - - dotnet test + - dotnet build -c Release + - dotnet test -c Release deploy: skip_cleanup: true