misc_pterodactyl-panel/.travis.yml

26 lines
535 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
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-06-16 05:50:10 +00:00
- composer install --no-interaction --prefer-dist --no-suggest --no-scripts --verbose
- php artisan migrate -v
- php artisan db: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:
- codecov