misc_pterodactyl-panel/.travis.yml

24 lines
512 B
YAML

language: php
dist: trusty
php:
- '7.0'
- '7.1'
- '7.2'
sudo: false
cache:
directories:
- $HOME/.composer/cache
services:
- mysql
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
before_script:
- cp .env.travis .env
- composer install --no-interaction --prefer-dist --no-suggest --verbose
- php artisan migrate --seed -v
script:
- vendor/bin/phpunit --coverage-clover coverage.xml
notifications:
email: false
after_success:
- bash <(curl -s https://codecov.io/bash)