mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-20 20:02:51 +08:00

* #52 test circle ci * #52 nicked some lads cake script * #52 put the mac build script back * #52 trying another lads circle CI thing doesnt use cake * #52 added test steps * #52 ports for linux build * #52 try travis mac build * #52 dont use build script * #52 dont use build script * #52 acceptance and int tests dont really work on mac...v strange? * #52 unique port for linux tests * #52 increase code coverage * #52 try using cake on linux for travis * #52 try using cake for mac and linux on travis * #52 dont run the acceptance and int tests on mac * #52 build.sh has lf line endings * #52 turns out crlf is OK for cake file..sigh * #52 not sure what return does in cake so wrapped in if just to see * #52 try use travis to work not run on mac * #52 dont need these references * #52 wrong property * #52 remove circle ci for linux and just use travis for all
18 lines
528 B
YAML
18 lines
528 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
working_directory: /temp
|
|
docker:
|
|
- image: microsoft/dotnet:sdk
|
|
environment:
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
|
steps:
|
|
- checkout
|
|
- run: dotnet restore
|
|
- run: dotnet build
|
|
- run: dotnet test ./test/Ocelot.UnitTests/Ocelot.UnitTests.csproj
|
|
- run: dotnet test ./test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj
|
|
- run: dotnet test ./test/Ocelot.IntegrationTests/Ocelot.IntegrationTests.csproj
|
|
|