forked from TelegramBots/Telegram.Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (26 loc) · 876 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
29
language: csharp
dist: trusty
sudo: false
mono: none
dotnet: 2.0.0
branches:
only:
- develop
script: >
cd "test/Telegram.Bot.Tests.Integ" &&
dotnet test --configuration Release --list-tests &&
dotnet xunit -configuration Release -nobuild -stoponfail -verbose
notifications:
email: false
## Notes:
### Limit concurrent jobs to only 1
### Disable building PRs (might expose env vars)
## Environment Variables:
# TelegramBot_ApiToken test-bot-api-token
# TelegramBot_AllowedUserNames main_tester,some_other_user
# TelegramBot_SuperGroupChatId -1234
# TelegramBot_ChannelChatId -9876
# TelegramBot_PaymentProviderToken token-from-stripe-test-bot
# TelegramBot_TesterPrivateChatId 1234
# TelegramBot_StickerOwnerUserId 1234
# TelegramBot_RegularGroupMemberId 9876