forked from icsharpcode/SharpZipLib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 878 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
language: csharp
mono:
- latest
os:
- linux
- osx
solution: ICSharpCode.SharpZipLib.sln
install:
- nuget restore ICSharpCode.SharpZipLib.sln
script:
- xbuild /p:Configuration=Debug ICSharpCode.SharpZipLib.sln
- xbuild /p:Configuration=Release ICSharpCode.SharpZipLib.sln
- mono ./packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe --framework=mono-4.0 --labels=All --result=./Documentation/nunit3-test-results-travis.xml ./bin/Release/ICSharpCode.SharpZipLib.Tests.dll
after_script:
- nuget pack Build/ICSharpCode.SharpZipLib.nuspec -BasePath Build -OutputDirectory bin/Release
cache:
directories:
- bin
- Documentation
#deploy:
# provider: releases
# api_key: "GITHUB OAUTH TOKEN"
# file:
# - "bin/Release/ICSharpCode.SharpZipLib.nupkg"
# - "Documentation/nunit3-test-results-travis.xml"
# skip_cleanup: true
# on:
# tags: true