forked from php-telegram-bot/telegram-bot-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (46 loc) · 3.17 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
45
46
47
48
49
50
51
52
53
54
55
56
sudo: required
language: php
addons:
mariadb: 10.1
cache:
directories:
- vendor
- $HOME/.composer/cache
matrix:
include:
- php: 7.3
- php: 7.2
- php: 7.1
env: COVERAGE=1
- php: 7.1
env: DEPS=low
- php: nightly
- php: hhvm
allow_failures:
- php: nightly
- php: hhvm
fast_finish: true
notifications:
on_success: never
on_failure: always
webhooks:
on_success: always
urls:
secure: rnvenRUkORTYn2zdE9g0yzLZp3PtnmdL+8Dbf5tmykPsVrihYBm0h7V/A76AnNM3ZF5BiubKnu0hJ3unm0TBJMCd5HCBq2zVKKcgRqZD2AvObo52I5Z8KIc+IVujbQdEmiktgSs5R7zQSqx5VuamlVlW8anEL52t0Iwqo7/UCMa3cdMuunOZ1W9zVkhsrqJGVdSHfv7NRdXftUngUtg6CQIt/274ECL+sjdhpEZvj8qow0OUFB7heXZu11BnkPSoMkytXpGwBAN3aKiT4Of9gpvEq9mQo/7qviLEDgsy57CJiRFJj9Gc3rD5LYpGWtmIMYQYnJpY8esUxe9t/lQCfqRi6eR9PTr8XS1LYxNNaB5iifgHdKhPAXYwcxg1GFKFNTL6O1UDSe72xQmqRtdyegvWRY7ALerBLXoCl5LiwnkRtZ+4J6JaXotEcPjzypHQe7w+xn4zBA0RnX2P2XPu3zXCBM4bL63N/PzKl2UKv0gJB0rW/fTXF5of1z2lQTkDfp7tsdn2nXwH7W0y17MHKe4U9HfknrHNFwWn0gXkhBDdCo2hd25ovjJd3j4utAKPPQyl7iKsyNLlqe3xbe+TV2lfddDORFgKGrVQMZt+exGq0HdmuLimSxfutPSCHCOUHzYuddaBeh0LjF7E/6+OvJXDiJN4afyBj2Ti5A2UCG8=
git:
depth: 1
install:
- if [ "$DEPS" == "low" ]; then travis_retry composer update --prefer-source --prefer-lowest --prefer-stable --no-interaction; fi
- if [ "$DEPS" != "low" ]; then travis_retry composer install --prefer-source --no-interaction; fi
before_script:
- mysql -u root -e 'create database telegrambot; use telegrambot; source ./vendor/longman/telegram-bot/structure.sql;'
- if [[ "$COVERAGE" == "1" ]] && [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then CODECOV="1"; fi
script:
- composer check-code
- if [[ "$CODECOV" == "1" ]]; then composer test-cov; else composer test; fi
after_success:
- if [[ "$CODECOV" == "1" ]]; then composer test-cov-upload; fi
env:
global:
- secure: IrgTBL2nqjOd7HxcpX5+mbHtSKHyNoX/05sg+mY1OFh4b1pcc64KhfP5syw4UY2m8Iacm46M2daACEi4ygazDt9iIRd/uWn1ptsLtXPPvUuNdBchHKJsegSsZB/47ukPhsG0hXAJutKRlML0pbgPN/ejD70GTplhlJu6+ICKwsMd9GcZDzux6G28tHYoJk+nQC6HI2zt88d6YZhXlhWoPEnwXBsokTng9mfAg7y1LDERschwqeLAZZ6dUkcFPBqcpNXKZTz7oAq57cjH0S56bVrBiCp9FTK5ezIKl1L9IIYWnO3zxUT1n0ebNAN8Db4TYdSMcIgnJnXSCV/ayzzteZR2bIKvQQXaA2T1w+XxryoDhjJ7P3VMxla9u8xmtXT7ip1wrasD04JZXuYd+ZP2nUoKKm993ftXnT9ZS1L6USi5yajXtZBuACR8moeGGx8GtViK4eTBx2jFsY4pyeO4xFL/QgBoIIKpVd9pAF6Y1DYFcNR89bHPk+F91QMEnpLtVTCT7GCHl0R4q2rZ2AkxQsvkX6kQXYLBnCw1q8VIRYvcaDze3qEfCxEINYw02zLM7AE+LG937d8R1DPOgC4mN6mlqI8nAB3g7X6l+LBArvF30Lf374b6/kxGrVT96U+CXKCWbclB2OnRxJZUhfjzAWaGDvHAWFtKKe6+t1crwxU=
- secure: xAIA+R8o54HVYDVbq9ki2w+lxnLfFoz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