A simple Travis CI configuration to build, test, and publish a NuGet package using .NET Core.
Install .NET Core then install this template:
dotnet new -i Syncromatics.Engineering.DX.TravisCI.NetCoreUse this template in your project's root directory:
dotnet new syncdx-travisci-netcore --projectName 'MyProject'See what other parameters are supported in this template:
dotnet new syncdx-travisci-netcore -hRemove any shields below that do not apply
- Ensure you have installed .NET Core
- Ensure
nugetis up to date withnuget update -self - Run
nuget pack Syncromatics.Engineering.DX.TravisCI.NetCore.nuspecin the root directory
This will build a Syncromatics.Engineering.DX.TravisCI.NetCore.0.0.0.nupkg file that you can test locally by installing with the dotnet new command:
dotnet new -i ./Syncromatics.Engineering.DX.TravisCI.NetCore.0.0.0.nupkgWe are committed to fostering an open and welcoming environment. Please read our code of conduct before participating in or contributing to this project.
We welcome contributions and collaboration on this project. Please read our contributor's guide to understand how best to work with us.
This software is made available by GMV Syncromatics Engineering under the MIT license.