-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
26 lines (26 loc) · 1.48 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
language: csharp
solution: AsyncAnalyzers.sln
before_install:
- gem install albacore -v 2.6.1
install:
- nuget restore AsyncAnalyzers.sln
script:
- xbuild /p:Configuration=Release AsyncAnalyzers.sln
- mono ./packages/xunit.runner.console.2.2.0/tools/xunit.console.exe ./AsyncAnalyzers.Test/bin/Release/AsyncAnalyzers.Test.dll
- bundle exec rake nuget_pack_and_push[$NuGetApiKey,$NuGetSource,$TRAVIS_BRANCH]
before_deploy:
- export RELEASE_NUGET=$(ls ./AsyncAnalyzers/bin/Release/AsyncAnalyzers.*.nupkg)
- echo "Deploying $RELEASE_NUGET and (SHA-256 checksum) to GitHub releases..."
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: htKdiMio+ldIGhB3ypfE+K//t8U8Aac67zoeKXImY2mZ9NbwJAzJdUDO52Ib4UjpdfwgE88CTS1x5GCFtF3KIzrFYhJDLKNFWm1KqDf9+8pg8+8ld8iED/puQuZg635aQDqMBMxrwFiZkEZ2VUOyBF1rCGDaJr5ITt77IE4we3l8GEO3NHc96JLG+KoNac5q73MVGTWC/OQ7mSw3GfxCp452hpy0+8mVmvjXVkq7r1/ThmOvptWzVSbJu9h8S0D9kWbOhlYTThdYOP3XgOpwZRXrEEdM9maOv8lGRzvHt/ceqn8WVV7MJDRkNswctSCbyfGB00xz/nXlPGC8n8dyERF55vMQVk8NFvzjMMr87JnX4VOlQEOLhrjklZtpg/DF8sY7Sk4wLlk/opkAeyvvUWzPib3VTHefoP//1E0lNdg7PnEKWSLFU4ADInUpmSuLKPgQDOA7d6iokAYnAwE4b6FeWLUTgOI98Lf8ORBI1UA9/aYxbA20UFQwdU30oasVhNEBxs+g/w6bv/9wtYIiz6uVjl8cjd1cLo93mqg5eKV3MGnG8V0ffeC2mqeH0V6lMUktfLlAOJ2XedK4iRiEcCKQxRH6Ykq03AOPjk9fzDNBJspxNfYuWkk5zcVe7ao4iyAd1KI8lAAHUCrqXkUPTTDDvybXhhOoRNgk16TJnGE=
file_glob: true
file:
- "${RELEASE_NUGET}"
- "${RELEASE_NUGET}.sha256"
on:
repo: holthe/AsyncAnalyzers
all_branches: true
tags: true