diff --git a/.travis.yml b/.travis.yml index 94a1ff0..6018474 100644 --- a/.travis.yml +++ b/.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 diff --git a/tests/redis.yml b/tests/redis.yml index 9405b72..5f759ad 100644 --- a/tests/redis.yml +++ b/tests/redis.yml @@ -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} diff --git a/tests/standalone.yml b/tests/standalone.yml new file mode 100644 index 0000000..f3de32f --- /dev/null +++ b/tests/standalone.yml @@ -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'