forked from pengrad/java-telegram-bot-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (25 loc) · 3.96 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
language: java
jdk:
- openjdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script:
- "./gradlew clean check"
- "./gradlew jacocoTestReport"
after_success:
- bash <(curl -s https://codecov.io/bash)
env:
global:
- TEST_INLINE_QUERY='{"update_id":874203504,"inline_query":{"id":"220392310118219759","from":{"id":12345,"is_bot":false,"first_name":"fName","last_name":"lName","username":"uName","language_code":"en"},"query":"if","offset":"offset"}}'
- TEST_CHOSEN_INLINE_RESULT='{"update_id":874203551,"chosen_inline_result":{"from":{"id":12345,"is_bot":false,"first_name":"fName","last_name":"lName","username":"uName","language_code":"en"},"query":"hi","result_id":"1"}}'
- TEST_POLL_ANSWER='{"update_id":874203558,"poll_answer":{"poll_id":"53728484163478543","user":{"id":12345,"is_bot":false,"first_name":"fName","last_name":"lName","username":"uName","language_code":"en"},"option_ids":[0,2]}}'
- TEST_SHIP_QUERY='{"update_id":874203582,"shipping_query":{"id":"220392309126173651","from":{"id":12345,"is_bot":false,"first_name":"fName","last_name":"lName","username":"uName","language_code":"en"},"invoice_payload":"my_payload","shipping_address":{"country_code":"US","state":"Florida","city":"Miami","street_line1":"Djs","street_line2":"Djdjdjd","post_code":"25168"}}}'
- TEST_PRECHECKOUT_QUERY='{"update_id":874203590,"pre_checkout_query":{"id":"112233","from":{"id":12345,"is_bot":false,"first_name":"fName","last_name":"lName","username":"uName","language_code":"en"},"currency":"USD","total_amount":200,"invoice_payload":"my_payload","shipping_option_id":"2","order_info":{"name":"uName","phone_number":"+123456789","email":"[email protected]","shipping_address":{"country_code":"US","state":"Florida","city":"Miami","street_line1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