Revert "Try to help @mattwr18"

This reverts commit 6b4601e9d14d63362877e293b7219d23cf1b4ecd.

@mattwr18 for reasons I don't understand, our build server hangs
https://travis-ci.com/Human-Connection/Nitro-Web/builds/96979338

Honestly, I start to think this is a bug in `docker-compose`
This commit is contained in:
Robert Schäfer 2019-01-11 01:14:48 +01:00
parent 6b4601e9d1
commit 521a868ca8
3 changed files with 3 additions and 7 deletions

View File

@ -27,9 +27,9 @@ install:
- yarn add cypress-cucumber-preprocessor - yarn add cypress-cucumber-preprocessor
script: script:
- docker-compose exec webapp yarn run lint - docker-compose exec -e NODE_ENV=test webapp yarn run lint
- docker-compose exec webapp yarn run test - docker-compose exec -e NODE_ENV=test webapp yarn run test
- docker-compose -f ../Nitro-Backend/docker-compose.yml exec backend yarn run db:seed - docker-compose -f ../Nitro-Backend/docker-compose.yml exec backend yarn run db:seed > /dev/null
- wait-on http://localhost:3000 - wait-on http://localhost:3000
- cypress run --record --key $CYPRESS_TOKEN - cypress run --record --key $CYPRESS_TOKEN

View File

@ -2,8 +2,6 @@ version: '3.7'
services: services:
webapp: webapp:
environment:
- NODE_ENV=development
build: build:
context: . context: .
target: build-and-test target: build-and-test

View File

@ -2,8 +2,6 @@ version: "3.7"
services: services:
webapp: webapp:
environment:
- NODE_ENV=test
build: build:
context: . context: .
target: build-and-test target: build-and-test