misc_pterodactyl-panel/.travis.yml

26 lines
551 B
YAML
Raw Normal View History

2017-06-16 04:07:39 +00:00
language: php
dist: trusty
php:
2017-06-16 04:07:39 +00:00
- '7.0'
- '7.1'
sudo: false
2017-08-05 00:22:56 +00:00
cache: false
#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:
# - phpenv config-rm xdebug.ini
- cp .env.travis .env
2017-07-23 22:55:38 +00:00
- composer install --no-interaction --prefer-dist --no-suggest --verbose
- php artisan migrate --seed -v
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
after_success:
2017-07-23 23:05:03 +00:00
- bash <(curl -s https://codecov.io/bash)