-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 3.01 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
language: csharp
mono:
- latest
- 5.12.0
cache:
- apt
env:
global:
- secure: RyCIbzmci/2RbYx8aDvbabQWsqyBILUsXPYQ/GSjBS2qkwj7xAfd65jGERJWVTplXzq81WXIq1TQiJgN+5L+XriCcBrYyJ5rlDdE9AMPg0iPbIWLBo7jikUGzB3W4M33Xzr4zmIJ2kxpGycWrWjIXA5RHQH0/BBS1qnV6QkBjabmN5IiRuOrem2r5909lT5Cr2dAvbW9pLhe04LgwjUcM+11U6iJhqgDHVSABp3/qfe1wkZSdIDvpGG5CGGZyDtfd1QgUl5u8hKgZk6nn0Goh4fX3/j0y+MigrfJ5hKPD30t/4jC/w40PvRnTRY13KR6x7cWEEinQjwlOy5pnWxjtnHJSaTRQez2V4JlXSTx71P82eV+5IWu6L83TE49FHjBvp5TQiSppEl39ie5GSk568A4GS3pp52xHlm1uAkCXrgspbZuV2HmFl38dC2CkMnBUJdxfZkFl5BcBdH9IjrHYfkP71WfcRzcwSNDyAM0aRmcbhYNRmrrHN4/gUR0nFgj6Qnt7m1xjo14BnCCRjKcm3zali7ltvCR2FrEDp4oDQsebwY9WNXiHALEoMPfEVFlYdr+pTI3d6J7Tb2qtpc+Jl98Acg5VNj1EwFNquBJBRrjZ4QtKrMutXLsSgVAxfNV0+K86hIZEqwTASNiacMTC6VD0JOElwvvMGDe+eAivoI=
- secure: BFnSKrZnCsaV6bc/Lp/IVrMclSL/Heikf+QH2YbChdMX66NcQFbSJxpWSMDsBpXa0er7j2gZeqDUFtwMwQJ07JVNhj/vIwXv56AgDRg7LGO8TBGVqTrRKmr+9MnFUnOBGP2juXsBjqP5DFWvH+BMwy7jV0m6ua95P5O9QjTWrq/LI5uwMMlUXOoXKFbicEaCpeOHcRD+nIhgyO0fe+uChryDidCi/Ng2O+6VOAS1TetiI0cIrnlDhlUubZKHli6BOVDgch65/xOKZt7qkuIThEJZAfQByq14CnkT2NpGhqEFHeWyT3N571jpnVxlPHrjXK4EEzCE9ZgUZOpkNIqmTpG77huZNO6NjO7MP8CvF9Z5sTVmpM197zl7SxLbMSBO1Yy8z3JbXJtY+2Y9GzUBH36j3vESYsZ2x3attB/1V75xkH3DOy4fyKZptw3UkPvaKlIWjmLj4CW+6IPdWraEltJDRsRGcMrnwZfufjV4IW82L6ay+rQd1zWp7kBVZE+yLoPzopIDs5A6C8Iq8EFtOBp5sRnUfWRatlzIAePlRjO0nv1JDeu5PDni/kvIXNI91oHeozJbnOkgfSNJe1hWPaZActZYhwTDbiS4YqFefko50U0f+9cpDnC0RD0NymKSmogQNeIGVft4Xo9FiagSewYT0ZpgQkyv2Fdqv1UvT6g=
services:
- xvfb
before_install:
- export DISPLAY=:99.0
install:
- sudo apt-get install mono-devel nunit-console libtest-most-perl libipc-system-simple-perl
script:
- bin/build
- nunit-console --exclude=FlakyNetwork build/Tests/bin/Debug/CKAN.Tests.dll
- chmod ugo+x build/*.exe
- prove # Run all the tests in t/
deploy:
-
provider: releases
api_key:
secure: "ENGu6guWCFpFPukq1okyJ2cSg5qMSq2bDPTcU9Zi5oUaU7oOok7gWgjwcw8VtDkg3v4BJIeaYSLyv5GAcXnh++8ft42Bv8JFuimZSERCKpHDCKyy3+4ihi0gTyigZ+yzsmXq4m50rXACsrHN+eaqt8dreFWpCIeY6eHy0SLvf0U/4hjaKOOSivo+MnFMxVQDRibDjPbmD9wM92pCEAVdE84AhX6k/NMfSaa42BlclXqAusUK2OUFqrPOo9/sIVqa1QarI1XTasw1q9OtExlFCWfMInMarsymE/xVpXvRRNIYNJjr7OC+1M2Ooihgvln5sRqEIAxktpDnpPUJwAbiBgjZc5ZSLHnL4dXzuX5U+tzxndKKDC0SAfkZOVleqjd0aRCwdM5JIILCXCTGA/gx6H+f6m1pCJ7Z1qQcaXaQ1xkVhP6C/NSTGZkr2blw2Jq+NHWooC6QKLYStNUiHSo2zCEG1dqqkh5tTMq9CwhkoIMku24zJ3THeOANdLvMhVdZmkEfSnh0m9tbPTI4sJX+LUGWpqVb1OUMcQXrUGNQVPjK+I5LJL4y+EkHm9j4C6bl+OXOjGJGZhKzuSkKlxla+5GyMB0udN8xGoyKZWlie+5S6rRa6YG8h6HwWvJphsOH4n8/4kty8Mql1EhbMR0nAYvGd9wZxB9kWmKLt7Fbtmc="
file:
- build/cfan.exe
- build/cfan_headless.exe
- build/cfan_netfan.exe
- build/cfan_updater.exe
skip_cleanup: true
on:
repo: trakos/CFAN
tags: true
condition: $(mono --version | perl -ne'/version (\S+)/ and print $1' | head -c 6) = 5.12.0
-
provider: script
script: bin/webdav_deploy.sh
skip_cleanup: true
on:
repo: trakos/CFAN
condition: $(mono --version | perl -ne'/version (\S+)/ and print $1' | head -c 6) = 5.12.0
all_branches: true