Add test for Integration Edition (#256)
* Add test for Integration Edition * Add test for Community Edition * Fix tests for redis * Fix edition test * Rename test
This commit is contained in:
parent
62424ea120
commit
7193b651ec
3 changed files with 26 additions and 1 deletions
13
.travis.yml
13
.travis.yml
|
@ -3,6 +3,13 @@ language: generic
|
|||
dist: trusty
|
||||
|
||||
env:
|
||||
# community edition
|
||||
- config: standalone.yml
|
||||
|
||||
# integration edition
|
||||
- config: standalone.yml
|
||||
PRODUCT_NAME: documentserver-ie
|
||||
|
||||
# certificates (default tls if onlyoffice not exists)
|
||||
- config: certs.yml
|
||||
ssl: true
|
||||
|
@ -52,9 +59,13 @@ env:
|
|||
# rabbitmq old variables
|
||||
- config: rabbitmq-old.yml
|
||||
|
||||
# redis
|
||||
# redis with community edition
|
||||
- config: redis.yml
|
||||
|
||||
# redis with integraion edition
|
||||
- config: redis.yml
|
||||
PRODUCT_NAME: documentserver-ie
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ services:
|
|||
container_name: onlyoffice-documentserver
|
||||
build:
|
||||
context: ../.
|
||||
args:
|
||||
- PRODUCT_NAME=${PRODUCT_NAME:-documentserver}
|
||||
environment:
|
||||
- REDIS_SERVER_HOST=${REDIS_SERVER_HOST:-onlyoffice-redis}
|
||||
- REDIS_SERVER_PORT=${REDIS_SERVER_PORT:-6379}
|
||||
|
|
12
tests/standalone.yml
Normal file
12
tests/standalone.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
version: '2.1'
|
||||
services:
|
||||
onlyoffice-documentserver:
|
||||
container_name: onlyoffice-documentserver
|
||||
build:
|
||||
context: ../.
|
||||
args:
|
||||
- PRODUCT_NAME=${PRODUCT_NAME:-documentserver}
|
||||
stdin_open: true
|
||||
restart: always
|
||||
ports:
|
||||
- '80:80'
|
Loading…
Reference in a new issue