tests pass under app user

This commit is contained in:
Henry Oswald
2018-02-26 11:56:19 +00:00
parent d698cc318f
commit 8f6db5baff
6 changed files with 34 additions and 50 deletions

View File

@@ -7,17 +7,11 @@ version: "2"
services:
test_unit:
image: node:6.13.0
volumes:
- .:/app
working_dir: /app
image: quay.io/sharelatex/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
entrypoint: npm run test:unit:_run
test_acceptance:
image: node:6.13.0
volumes:
- .:/app
working_dir: /app
image: quay.io/sharelatex/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
environment:
REDIS_HOST: redis
MONGO_HOST: mongo