misc_pterodactyl-panel/.travis.yml

38 lines
845 B
YAML
Raw Normal View History

2017-06-16 04:07:39 +00:00
language: php
dist: trusty
php:
- 7.0
- 7.1
- 7.2
matrix:
fast_finish: true
allow_failures:
- php: 7.2
sudo: false
2017-08-13 19:56:47 +00:00
cache:
directories:
- $HOME/.composer/cache
services:
- mysql
before_install:
2017-06-16 04:07:39 +00:00
- mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
before_script:
- echo 'opcache.enable_cli=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- cp .env.travis .env
- composer install --no-interaction --prefer-dist --no-suggest
- php artisan migrate --seed
script:
2017-06-16 05:50:10 +00:00
- vendor/bin/phpunit --coverage-clover coverage.xml
2017-06-16 04:07:39 +00:00
notifications:
email: false
webhooks:
urls:
- https://misc.schrej.net/travistodiscord/pterodev.php
on_success: change
on_failure: always
on_error: always
on_cancel: always
on_start: never
after_success:
2017-07-23 23:05:03 +00:00
- bash <(curl -s https://codecov.io/bash)