misc_pterodactyl-panel/.travis.yml
2017-08-04 19:22:56 -05:00

25 lines
551 B
YAML

language: php
dist: trusty
php:
- '7.0'
- '7.1'
sudo: false
cache: false
#cache:
# directories:
# - $HOME/.composer/cache
services:
- mysql
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
before_script:
# - phpenv config-rm xdebug.ini
- 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)