Page MenuHomePhabricator (Chris)

.travis.yml
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

.travis.yml

dist: bionic
language: php
addons:
mariadb: 10.2
cache:
directories:
- vendor
- $HOME/.composer/cache
php:
- 7.3
- 7.4
- 8.0snapshot
- nightly
jobs:
allow_failures:
- php: nightly
fast_finish: true
git:
depth: 1
install:
- travis_retry composer install --prefer-dist --no-interaction
before_script:
# Get structure from 0.44.1, to test all migration steps.
- git fetch origin 0.44.1 && git checkout FETCH_HEAD -- structure.sql
- mysql -u root -e "create database telegrambot_migrations; use telegrambot_migrations; source structure.sql;"
- git checkout HEAD -- structure.sql
- mysql -u root -e "create database telegrambot; use telegrambot; source structure.sql;"
script:
- for SCHEMA_UPDATE_FILE in $(ls utils/db-schema-update); do mysql -u root -e "use telegrambot_migrations; source utils/db-schema-update/${SCHEMA_UPDATE_FILE};"; done;
- composer check-code
- if [ "$TRAVIS_PHP_VERSION" == "7.3" ]; then composer test-cov; else composer test; fi
after_script:
- if [ "$TRAVIS_PHP_VERSION" == "7.3" ]; then composer test-cov-upload; fi
notifications:
on_success: never
on_failure: always
webhooks:
on_success: always
urls:
secure: jW1RbSV8TXSL3qa2cNVhlxEGbImrQS5b8FO4xIe/Sg2S2zgXOxJZrui1d/gh6mM3dqjquvCdUkXOYYWL8Mrnbe07utUigwW4qxmsw2XDqobgUl9/yoqejLsUvccV2bbvxhSlVEnGkYox9yOd7pakBW0wLxG4Izw8ML3q+tJWYAypM/x3mRhXBMRuOhLm3cI9MwYogCq82FRBTvwTszuU74EHQE/LgQnlEwfOhBYa1sqD+HHG51H59+a0pBWiAgcROG/vPffNDzCfmgrcpU6Bw/eJjGJcDYNwjvBp90lYHYXofbWtwj0m6QvCuE7HFlG7UXXipEe+trViH9G7DpPwAf5nghEgJNholESq6DVhy+5fBFEiZfcpbhMJWzh807iL8r0Ekx3oUKe67wcOO55s/Hatln5DNq3vuVzfDhIjGkBE4Z44Il1M/n5zY5Rj/zMPpRFs9cI53wynKoFxI7gPNylqnkoztYsFv/yMf1W9moZvWqzQY0qeMLSUZNJ9TpxhETGkM3P12X/jSkBkmoBPEG1Rdq/H2e6T4bQ/K9I9UyBXM3bZ1ybUqqwyi7vQTm6RCVai1P4dgMZ4VyX79dhiGhtwCIIQSrYdqi7sLO0kTw05j0zvdaT2IEATgdnj+OOSxtJrp069OL7spkRg8EEyn6emawnsrNjqJUwksvuz1tY=

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 15, 1:48 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
118082
Default Alt Text
.travis.yml (1 KB)

Event Timeline