Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #80 from henkmollema/update-test-project
Browse files Browse the repository at this point in the history
Update tests
  • Loading branch information
henkmollema authored Nov 16, 2018
2 parents 5dfa861 + adb9da7 commit 1d2660e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
9 changes: 8 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
version: '{build}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
init:
- git config --global core.autocrlf true
build_script:
Expand All @@ -8,4 +12,7 @@ deploy: off
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
os: Visual Studio 2017
CI: true
branches:
only:
- master
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
language: csharp
mono: none
dotnet: 2.0.0
dotnet: 2.1.403
dist: trusty
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
- DOTNET_CLI_TELEMETRY_OPTOUT: true
os:
- linux
- osx
osx_image: xcode8.2
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; fi
branches:
only:
- master
before_script:
- chmod +x ./build.sh
script:
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dotnet restore
dotnet build ./src/Dapper.FluentMap/Dapper.FluentMap.csproj -f netstandard1.3
dotnet build ./src/Dapper.FluentMap.Dommel/Dapper.FluentMap.Dommel.csproj -f netstandard1.3
dotnet build ./src/Dapper.FluentMap/Dapper.FluentMap.csproj -f netstandard2.0
dotnet build ./src/Dapper.FluentMap.Dommel/Dapper.FluentMap.Dommel.csproj -f netstandard2.0
dotnet test ./test/Dapper.FluentMap.Tests/Dapper.FluentMap.Tests.csproj
1 change: 1 addition & 0 deletions src/Dapper.FluentMap.Dommel/Dapper.FluentMap.Dommel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Dapper.FluentMap\Dapper.FluentMap.csproj" />
<PackageReference Include="Dapper" Version="1.50.5" />
<PackageReference Include="Dommel" Version="1.10.1" />
</ItemGroup>
</Project>
9 changes: 5 additions & 4 deletions test/Dapper.FluentMap.Tests/Dapper.FluentMap.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFrameworks>net452;netcoreapp2.0;netcoreapp2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netcoreapp2.0;netcoreapp2.1</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Dapper.FluentMap\Dapper.FluentMap.csproj" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0" />
<PackageReference Include="xunit" Version="2.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="xunit" Version="2.4.1" />
</ItemGroup>
</Project>

0 comments on commit 1d2660e

Please sign in to comment.