forked from NLog/NLog.Extensions.Logging
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (23 loc) · 751 Bytes
/
.travis.yml
File metadata and controls
28 lines (23 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: csharp
dotnet: 2.0.0
dist: trusty
install:
- nuget install xunit.runner.console -version 2.2.0
# Display dotnet version info
- which dotnet;
if [ $? -eq 0 ]; then
echo "Using dotnet:";
dotnet --info;
else
echo "dotnet.exe not found"
exit 1;
fi
# Restore dependencies
- dotnet restore src/NLog.Extensions.Logging
- dotnet restore src/NLog.Extensions.Hosting
- dotnet restore test/NLog.Extensions.Hosting.Tests
- dotnet restore test/NLog.Extensions.Logging.Tests
script:
# Run tests
- dotnet test test/NLog.Extensions.Hosting.Tests --configuration Release --framework netcoreapp2.0
- dotnet test test/NLog.Extensions.Logging.Tests --configuration Release --framework netcoreapp2.0