7d1606bc95
* Add support of MySQL database
44 lines
817 B
YAML
44 lines
817 B
YAML
language: generic
|
|
|
|
dist: trusty
|
|
|
|
env:
|
|
# postgresql
|
|
- config: postgres.yml
|
|
|
|
# custom values
|
|
- config: postgres.yml
|
|
DB_NAME: mydb
|
|
DB_USER: myuser
|
|
DB_PWD: password
|
|
POSTGRES_DB: mydb
|
|
POSTGRES_USER: myuser
|
|
|
|
# deprecated variables
|
|
- config: postgres-old.yml
|
|
POSTGRESQL_SERVER_HOST: onlyoffice-postgresql
|
|
POSTGRESQL_SERVER_PORT: 5432
|
|
POSTGRESQL_SERVER_DB_NAME: onlyoffice
|
|
POSTGRESQL_SERVER_USER: onlyoffice
|
|
POSTGRESQL_SERVER_PASS: onlyoffice
|
|
|
|
# mysql
|
|
- config: mysql.yml
|
|
DB_TYPE: mysql
|
|
DB_HOST: onlyoffice-mysql
|
|
DB_PORT: 3306
|
|
|
|
# activemq
|
|
- config: activemq.yml
|
|
AMQP_SERVER_TYPE: activemq
|
|
AMQP_SERVER_URL: amqp://guest:guest@onlyoffice-activemq
|
|
|
|
services:
|
|
- docker
|
|
|
|
script:
|
|
# Go to tests dir
|
|
- cd ${PWD}/tests
|
|
|
|
# Run test.
|
|
- ./test.sh
|