forked from mustafatamer/NetTopologySuite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (26 loc) · 1.1 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
language: csharp
mono: none
sudo: false
dotnet: 2.2
dist: xenial
script:
- dotnet build -c Release -v minimal -p:WarningLevel=3
- dotnet test -c Release --no-build --filter '(TestCategory!=LongRunning)&(TestCategory!=Stress)&(TestCategory!=FailureCase)'
- dotnet pack -c Release --no-build -p:NoWarn=NU5105
deploy:
- on:
branch: master
provider: script
script:
- dotnet nuget push ./Release/AnyCPU/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY
skip_cleanup: true
- on:
branch: develop
provider: script
script:
- dotnet nuget push ./Release/AnyCPU/*.nupkg -s https://www.myget.org/F/nettopologysuite/api/v2/package -k $MYGET_API_KEY
skip_cleanup: true
env:
global:
- secure: BzD1R2uMyGVdJu+cIpRhydfCWfIQSsi7/GwqE30j+95v2Hr3X8fq+5aRR1EFhk1C51zqGhNymp55zUCXvIpXKuHnWL3tSYpFWV6suhJ9D3WplSXUbBA8hqB7KCkhT54qHykhS4Uq6V4P+JxSCcjZpbj0IQ/uCuolamU9Osh3rl0=
- secure: Vir9iza9q2knZRs2g6oJCk3t0ZIAKiQD87CwCmNbHy0VGbQHf9ISTPHF0tcR0oSB1u2nwvyiY2wg7QHOouMHlM+mVXi3Bf8WXK2ckK2cFWhH+1wc39t3829LfeEzoFsojx/eReM61eEhlnDViPEKFOpJCWp3pRKxsZ5Dyo5JvrI=