Commit Graph

791 Commits

Author SHA1 Message Date
Andrew Arnott 833d9a0eae Build *_validate branches on CI 2019-05-27 07:53:06 -06:00
Toni Solarin-Sodara b8abd2b9a3 Merge pull request #427 from AArnott/PinSdkVersion
Prefer modern UseDotNet task over obsolete DotNetCoreInstaller
2019-05-27 11:50:21 +01:00
Toni Solarin-Sodara 159c362017 Merge pull request #429 from AArnott/gitignore
Ignore msbuild.binlog
2019-05-27 11:48:15 +01:00
Toni Solarin-Sodara 13a1fd3a2f Merge pull request #428 from AArnott/OnlyTriggerCIonMaster
Only trigger CI on master branch
2019-05-27 11:47:38 +01:00
Toni Solarin-Sodara 57000af5cd Merge pull request #426 from AArnott/CollectArtifacts
Capture packages as build artifacts
2019-05-27 11:43:16 +01:00
Toni Solarin-Sodara 64717cb5ff Merge pull request #430 from AArnott/packable
Add missing IsTestProject and IsPackable properties
2019-05-27 11:34:48 +01:00
Andrew Arnott dfda81a1f4 Define RepoRoot property for simpler paths 2019-05-26 21:18:42 -06:00
Andrew Arnott f016c7b5bb Fix dotnet build of a clean repo
For a perfectly clean repo (git clean -fdx), `dotnet build` fails because some tests require that other projects have been built using build.proj first.

This change adds the necessary build ordering instructions so that the build tasks are always built before the tests that need them, and the tests are always run against the *latest* source code being tested rather than the last version that happened to be built with build.proj.
2019-05-26 21:18:42 -06:00
Andrew Arnott 4649985ac0 Replace checked in .nuspec file with generated one
All the redundancy between the .nuspec file and the .csproj file (both express and implied) is now removed. With it, I fix a few bugs:

1. The generated nuspec file includes the developmentDependency tag that was in the project file but not the checked in file.
1. The package now applies to *all* projects regardless of their target framework (well, so long as they're .netstandard1.0 compatible) instead of all projects rejecting this package unless they targeted .NET Core 2.0 or higher.

I also moved the .targets file into a folder structure within the project that resembles where it will appear in the package. This makes it more obvious that it belongs to the package when looking at the source code, and makes it easier to maintain the build/ folder in the package going forward because all files in it are included.

Fixes #431
2019-05-26 19:07:33 -06:00
Andrew Arnott 47bfd91071 Add missing IsTestProject and IsPackable properties
This lets us "pack" the solution instead of listing out each project individually, since projects know themselves whether they should be packable.
2019-05-26 18:22:11 -06:00
Andrew Arnott f19d035407 Ignore msbuild.binlog
msbuild.binlog is the default filename for msbuild logs when using the /bl switch.
2019-05-26 18:18:42 -06:00
Andrew Arnott 17dcdfd460 Prefer modern UseDotNet task over obsolete DotNetCoreInstaller
The `UseDotNet` task is newer and follows best practices from the
dotnet SDK team better than the older `DotNetCoreInstaller` task.

One significant difference between the two is that `UseDotNet` sets
`DOTNET_MULTILEVEL_LOOKUP=0`, such that once you use this task once, you have to
manually install *all* SDK/runtime versions that your pipeline requires.
This task *may* be used more than once in order to accomplish this.
This is actually a *good* thing, because it means your pipeline is more fully
self-describing, and less dependent on whatever versions the agents happen to
have installed at the time.
2019-05-26 18:04:32 -06:00
Toni Solarin-Sodara 02708bbaea Merge pull request #425 from MarcoRossignoli/nightly
Setup nightly build
2019-05-26 22:09:34 +01:00
Toni Solarin-Sodara 8dc1d27421 Update build.yml 2019-05-26 22:04:57 +01:00
Toni Solarin-Sodara 0b0cb15a26 Merge branch 'master' into nightly 2019-05-26 22:03:11 +01:00
Toni Solarin-Sodara b1c5dc2ddd Merge pull request #424 from AArnott/YamlTemplates
Move common build steps into template
2019-05-26 21:52:05 +01:00
Marco Rossignoli cd9f504328 setup nightly build 2019-05-26 17:29:44 +02:00
Andrew Arnott 13ebd958e4 Capture packages as build artifacts 2019-05-25 14:15:51 -06:00
Andrew Arnott 49d5dec1d0 Only trigger CI on master branch 2019-05-25 14:11:52 -06:00
Andrew Arnott 026ce8abdd Move common build steps into template 2019-05-25 13:54:00 -06:00
Toni Solarin-Sodara e73d67f097 update documentation structure 2019-05-24 21:50:01 +01:00
Marco Rossignoli 0271f5eef1 Merge pull request #419 from MarcoRossignoli/fixdoc
Fix VS test integration doc
2019-05-22 18:08:12 +02:00
Marco Rossignoli 8f781bc5d4 update 2019-05-22 15:58:05 +02:00
Marco Rossignoli 10163b524c fix doc 2019-05-22 15:08:57 +02:00
Marco Rossignoli a33ca0b595 Merge pull request #407 from MarcoRossignoli/troubleshootingguide
Add troubleshooting guide
2019-05-22 13:19:31 +02:00
Toni Solarin-Sodara 6524812074 Merge pull request #402 from vagisha-nidhi/DocumentationVSTestIntegration
Adding documetation for VSTest Integration
2019-05-21 11:08:51 +01:00
Toni Solarin-Sodara 87f4dda3de fix code formatting 2019-05-20 16:36:54 +01:00
Toni Solarin-Sodara b3e349e1e4 Merge pull request #410 from vagisha-nidhi/coverletDatacollectors
Coverlet Intergration with VSTest
2019-05-20 13:23:54 +01:00
Vagisha Nidhi 56855bc865 Unload module raise exception 2019-05-20 15:52:50 +05:30
Vagisha Nidhi 28aa07fcc4 Adding diagnostic logs 2019-05-20 14:12:10 +05:30
Toni Solarin-Sodara 33fad1ee38 Merge pull request #415 from sasivishnu/FileExists
Using File.Exists for HitsFile creation/update validation
2019-05-19 14:46:48 +01:00
Vishnu Kumar ebbf118a30 File.Exists instead of try-catch for HitsFile creation/update validation 2019-05-19 18:40:54 +05:30
Vagisha Nidhi faa5b92a54 Nit change 2019-05-16 15:59:19 +05:30
Vagisha Nidhi 73de95d653 Variable change suggestion 2019-05-16 15:53:09 +05:30
Vagisha Nidhi 87a6f3a1fb Fixed failing UT 2019-05-16 15:09:46 +05:30
Vagisha Nidhi c2d30e0848 Review comments addressed 2019-05-16 15:02:32 +05:30
Toni Solarin-Sodara b51554dcea Merge pull request #411 from tonerdo/azure-pipelines
Set up CI with Azure Pipelines
2019-05-15 17:48:20 +01:00
Toni Solarin-Sodara 7441dd815b remove appveyor integration 2019-05-15 17:06:57 +01:00
Toni Solarin-Sodara dc8f1142e0 create jobs for all 3 OS in az pipelines 2019-05-15 13:04:48 +01:00
Toni Solarin-Sodara 1efb3448e9 Set up CI with Azure Pipelines
[skip ci]
2019-05-15 12:36:36 +01:00
Vagisha Nidhi f5ffe46be9 Modifying build.proj for including collectors build and test 2019-05-15 14:29:30 +05:30
Vagisha Nidhi 59c5af61e8 Coverlet DataCollectors Implementation 2019-05-15 14:06:21 +05:30
Toni Solarin-Sodara 09f91f2afa Merge pull request #409 from MarcoRossignoli/removestatics2
Remove static Coverage object
2019-05-13 21:39:28 +01:00
Marco Rossignoli 0e0f65f561 Update src/coverlet.msbuild.tasks/CoverageResultTask.cs
Co-Authored-By: Toni Solarin-Sodara <toni.edward@outlook.com>
2019-05-13 21:18:55 +02:00
Marco Rossignoli f06e76f18b Update src/coverlet.core/Instrumentation/InstrumenterResult.cs
Co-Authored-By: Toni Solarin-Sodara <toni.edward@outlook.com>
2019-05-13 21:18:45 +02:00
Marco Rossignoli 776a906ddb remove statics 2019-05-13 11:31:18 +02:00
Marco Rossignoli 4712d87803 Update Documentation/Troubleshooting.md
Co-Authored-By: Toni Solarin-Sodara <toni.edward@outlook.com>
2019-05-13 09:43:12 +02:00
Marco Rossignoli cab9ab9c75 Update Documentation/Troubleshooting.md
Co-Authored-By: Toni Solarin-Sodara <toni.edward@outlook.com>
2019-05-13 09:43:05 +02:00
Toni Solarin-Sodara bb1f3882a9 Merge pull request #406 from MarcoRossignoli/downgradelog
Downgrade verbosity log for hit files not found
2019-05-12 23:50:53 +01:00
Toni Solarin-Sodara b3899127b7 update package description 2019-05-09 00:44:45 +01:00