forked from mirror/Part-DB.Part-DB-server
33 lines
No EOL
541 B
YAML
33 lines
No EOL
541 B
YAML
language: php
|
|
|
|
services:
|
|
- mysql
|
|
|
|
env:
|
|
- SYMFONY_DEPRECATIONS_HELPER=disabled # Disable deprecation warnings
|
|
- APP_ENV=test
|
|
|
|
# Test for all supported PHP versions
|
|
php:
|
|
- '7.1'
|
|
- '7.2'
|
|
- '7.3'
|
|
- '7.4snapshot'
|
|
- 'nightly'
|
|
|
|
before_install:
|
|
- mysql -e 'CREATE DATABASE partdb_test;
|
|
|
|
install:
|
|
- composer install
|
|
- php bin/console doctrine:migrations:migrate -n
|
|
- php bin/console doctrine:fixtures:load -n
|
|
|
|
script:
|
|
- php bin/phpunit
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- php: 7.4snapshot
|
|
- php: nightly |