forked from CopyText/TextCopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (27 loc) · 889 Bytes
/
.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
matrix:
include:
- os: linux
dist: xenial
sudo: required
language: csharp
services:
- xvfb
before_install:
- sudo apt-get install -y xclip;
script:
- export FrameworkPathOverride=/usr/lib/mono/4.7.2-api/
- os: osx
sudo: required
language: csharp
script:
- export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/6.6.0/lib/mono/4.7.2-api/
android:
components:
- android-30
mono: latest
dotnet: 3.1.100
script:
- nuget install xunit.runner.console -Version 2.4.1 -OutputDirectory testrunner
- dotnet build src --configuration Release
- dotnet test src/Tests/Tests.csproj --configuration Release --framework netcoreapp3.1 --no-build --no-restore
- mono ./testrunner/xunit.runner.console.2.4.1/tools/net472/xunit.console.exe ./src/Tests/bin/Release/net472/Tests.dll