2019-08-07 09:01:52 +12:00
|
|
|
language: php
|
2019-08-26 16:56:01 +12:00
|
|
|
|
2019-08-07 09:01:52 +12:00
|
|
|
php:
|
|
|
|
- '7.3'
|
|
|
|
|
|
|
|
addons:
|
|
|
|
hosts:
|
|
|
|
- appwrite.test
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
2019-09-22 04:54:18 +12:00
|
|
|
- team@appwrite.io
|
2019-08-07 09:01:52 +12:00
|
|
|
|
2019-08-26 16:56:01 +12:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
before_install:
|
2019-09-14 15:41:16 +12:00
|
|
|
- composer update --ignore-platform-reqs --optimize-autoloader --no-plugins --no-scripts
|
2019-08-26 17:18:40 +12:00
|
|
|
- sudo service mysql stop
|
2019-09-14 19:45:36 +12:00
|
|
|
#- mkdir -p tests/resources/storage/db
|
|
|
|
#- cp -r tests/resources/mock/db tests/resources/storage/db
|
2019-08-07 09:01:52 +12:00
|
|
|
|
2019-08-26 16:56:01 +12:00
|
|
|
install:
|
2019-08-26 17:12:31 +12:00
|
|
|
- docker-compose -f tests/resources/docker-compose.yml up -d
|
2019-09-22 00:40:01 +12:00
|
|
|
- sleep 180
|
2019-08-26 16:56:01 +12:00
|
|
|
|
2019-08-07 09:01:52 +12:00
|
|
|
script:
|
2019-09-14 17:57:27 +12:00
|
|
|
- docker ps
|
2019-09-14 16:55:22 +12:00
|
|
|
- vendor/bin/phpunit --configuration phpunit.xml
|