forked from SteamRE/SteamKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 1.03 KB
/
.travis.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
dist: xenial
language: csharp
mono: none
dotnet: 2.2
git:
depth: false
addons:
sonarcloud:
organization: "steamre"
solution: SteamKit2/SteamKit2.sln
install:
- dotnet tool install --global dotnet-sonarscanner
- dotnet restore SteamKit2/SteamKit2.sln
- dotnet restore Samples/Samples.sln
before_script:
- export PATH="$PATH:/home/travis/.dotnet/tools"
script:
- dotnet sonarscanner begin /k:"SteamKit" /d:sonar.host.url="https://sonarcloud.io"
- dotnet build SteamKit2/SteamKit2/SteamKit2.csproj
- dotnet build SteamKit2/Tests/Tests.csproj
- dotnet build Resources/SteamLanguageParser/SteamLanguageParser.csproj
- dotnet build Samples/Samples.sln
- dotnet test SteamKit2/Tests/Tests.csproj
- dotnet sonarscanner end || true
notifications:
irc:
channels:
- "irc.gamesurge.net#opensteamworks"
on_success: never
on_failure: always
cache:
directories:
- "~/.nuget/packages"
- "~/.local/share/NuGet/Cache"
- "~/.sonar/cache"